CVE-2026-98196

wifi: brcmsmac: fix UAF in brcms_free_timer()

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 10eeb0b29fd7f52487c9ae573e8d79c210a0095dAffected
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 74acccc928851f69184271832d690607877122afAffected
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 050d2486e8ed2c0a23b87249ccd23e8072721391Affected
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 856dabd5f2617efb23c043be9e1b22a9e6e97c41Affected
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 2a4841ff0b74b495cddd31ae324e922217fc2f13Affected
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 1edb3ddd261e973a4d577c0547e63bfa25a8170dAffected
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 777cb6bba59e875b16a1d8897a483a5fecfcd5d2Affected
  • 5b435de0d786869c95d1962121af0d7df2542009 to before 1eeca1d5e0920fbdad6449768fd2d4364e714180Affected
LinuxLinux
  • 3.2Affected
  • before 3.2Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.