CVE-2026-98196 PUBLISHED

wifi: brcmsmac: fix UAF in brcms_free_timer()

Assigner: Linux
Reserved: 25.09.2026 Published: 06.10.2026 Updated: 06.10.2026

In the Linux kernel, the following vulnerability has been resolved:

wifi: brcmsmac: fix UAF in brcms_free_timer()

brcms_free_timer() calls brcms_del_timer() which uses the non-synchronous cancel_delayed_work() to cancel the timer's underlying delayed work. If the work callback (_brcms_timer) is already running, cancel_delayed_work() returns false without waiting, and brcms_free_timer() proceeds to kfree(t) while the callback still accesses t through container_of().

Add an explicit cancel_delayed_work_sync() after brcms_del_timer() to guarantee that any in-flight callback has completed before the timer structure is freed.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 10eeb0b29fd7f52487c9ae573e8d79c210a0095d (excl.)
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 74acccc928851f69184271832d690607877122af (excl.)
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 050d2486e8ed2c0a23b87249ccd23e8072721391 (excl.)
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 856dabd5f2617efb23c043be9e1b22a9e6e97c41 (excl.)
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 2a4841ff0b74b495cddd31ae324e922217fc2f13 (excl.)
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 1edb3ddd261e973a4d577c0547e63bfa25a8170d (excl.)
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 777cb6bba59e875b16a1d8897a483a5fecfcd5d2 (excl.)
  • affected from 5b435de0d786869c95d1962121af0d7df2542009 to 1eeca1d5e0920fbdad6449768fd2d4364e714180 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.2 is affected
  • unaffected from 0 to 3.2 (excl.)
  • unaffected from 5.10.271 to 5.10.* (incl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.54 to 6.18.* (incl.)
  • unaffected from 7.2.8 to 7.2.* (incl.)
  • unaffected from 7.3-rc4 to * (incl.)

References