Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-39282

net: wwan: t7xx: Fix FSM command timeout issue

Description

In the Linux kernel, the following vulnerability has been resolved: net: wwan: t7xx: Fix FSM command timeout issue When driver processes the internal state change command, it use an asynchronous thread to process the command operation. If the main thread detects that the task has timed out, the asynchronous thread will panic when executing the completion notification because the main thread completion object has been released. BUG: unable to handle page fault for address: fffffffffffffff8 PGD 1f283a067 P4D 1f283a067 PUD 1f283c067 PMD 0 Oops: 0000 [#1] PREEMPT SMP NOPTI RIP: 0010:complete_all+0x3e/0xa0 [...] Call Trace: <TASK> ? __die_body+0x68/0xb0 ? page_fault_oops+0x379/0x3e0 ? exc_page_fault+0x69/0xa0 ? asm_exc_page_fault+0x22/0x30 ? complete_all+0x3e/0xa0 fsm_main_thread+0xa3/0x9c0 [mtk_t7xx (HASH:1400 5)] ? __pfx_autoremove_wake_function+0x10/0x10 kthread+0xd8/0x110 ? __pfx_fsm_main_thread+0x10/0x10 [mtk_t7xx (HASH:1400 5)] ? __pfx_kthread+0x10/0x10 ret_from_fork+0x38/0x50 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1b/0x30 </TASK> [...] CR2: fffffffffffffff8 ---[ end trace 0000000000000000 ]--- Use the reference counter to ensure safe release as Sergey suggests: https://lore.kernel.org/all/da90f64c-260a-4329-87bf-1f9ff20a5951@gmail.com/

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 13e920d93e37fcaef4a9309515798a3cae9dcf19 to < b8ab9bd0c8855cd5a6f4e0265083576257ff3fc5affected
  • 13e920d93e37fcaef4a9309515798a3cae9dcf19 to < 0cd3bde081cd3452c875fa1e5c55834c670d6e05affected
  • 13e920d93e37fcaef4a9309515798a3cae9dcf19 to < e6e6882a1590cbdaca77a31a02f4954327237e14affected
  • 13e920d93e37fcaef4a9309515798a3cae9dcf19 to < 4f619d518db9cd1a933c3a095a5f95d0c1584ae8affected

Linux Linux

Default version status: affected

  • 5.19affected
  • 0 to < 5.19unaffected
  • 6.1.124 to ≤ 6.1.*unaffected
  • 6.6.70 to ≤ 6.6.*unaffected
  • 6.12.9 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References