HomeDefectsLIN1025-3258
Fixed

LIN1025-3258 : Security Advisory - linux - CVE-2025-38525

Created: Aug 17, 2025    Updated: Sep 1, 2025
Resolved Date: Aug 17, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]rxrpc: Fix irq-disabled in local_bh_enable()[EOL][EOL]The rxrpc_assess_MTU_size() function calls down into the IP layer to find[EOL]out the MTU size for a route.  When accepting an incoming call, this is[EOL]called from rxrpc_new_incoming_call() which holds interrupts disabled[EOL]across the code that calls down to it.  Unfortunately, the IP layer uses[EOL]local_bh_enable() which, config dependent, throws a warning if IRQs are[EOL]enabled:[EOL][EOL]WARNING: CPU: 1 PID: 5544 at kernel/softirq.c:387 __local_bh_enable_ip+0x43/0xd0[EOL]...[EOL]RIP: 0010:__local_bh_enable_ip+0x43/0xd0[EOL]...[EOL]Call Trace:[EOL] <TASK>[EOL] rt_cache_route+0x7e/0xa0[EOL] rt_set_nexthop.isra.0+0x3b3/0x3f0[EOL] __mkroute_output+0x43a/0x460[EOL] ip_route_output_key_hash+0xf7/0x140[EOL] ip_route_output_flow+0x1b/0x90[EOL] rxrpc_assess_MTU_size.isra.0+0x2a0/0x590[EOL] rxrpc_new_incoming_peer+0x46/0x120[EOL] rxrpc_alloc_incoming_call+0x1b1/0x400[EOL] rxrpc_new_incoming_call+0x1da/0x5e0[EOL] rxrpc_input_packet+0x827/0x900[EOL] rxrpc_io_thread+0x403/0xb60[EOL] kthread+0x2f7/0x310[EOL] ret_from_fork+0x2a/0x230[EOL] ret_from_fork_asm+0x1a/0x30[EOL]...[EOL]hardirqs last  enabled at (23): _raw_spin_unlock_irq+0x24/0x50[EOL]hardirqs last disabled at (24): _raw_read_lock_irq+0x17/0x70[EOL]softirqs last  enabled at (0): copy_process+0xc61/0x2730[EOL]softirqs last disabled at (25): rt_add_uncached_list+0x3c/0x90[EOL][EOL]Fix this by moving the call to rxrpc_assess_MTU_size() out of[EOL]rxrpc_init_peer() and further up the stack where it can be done without[EOL]interrupts disabled.[EOL][EOL]It shouldn't be a problem for rxrpc_new_incoming_call() to do it after the[EOL]locks are dropped as pmtud is going to be performed by the I/O thread - and[EOL]we're in the I/O thread at this point.

CREATE(Triage):(User=pbi-cn) [CVE-2025-38525 (https://nvd.nist.gov/vuln/detail/CVE-2025-38525)