{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23281","id":"CVE-2026-23281","title":"wifi: libertas: fix use-after-free in lbs_free_adapter()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: libertas: fix use-after-free in lbs_free_adapter()\n\nThe lbs_free_adapter() function uses timer_delete() (non-synchronous)\nfor both command_timer and tx_lockup_timer before the structure is\nfreed. This is incorrect because timer_delete() does not wait for\nany running timer callback to complete.\n\nIf a timer callback is execut","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: libertas: fix use-after-free in lbs_free_adapter()\n\nThe lbs_free_adapter() function uses timer_delete() (non-synchronous)\nfor both command_timer and tx_lockup_timer before the structure is\nfreed. This is incorrect because timer_delete() does not wait for\nany running timer callback to complete.\n\nIf a timer callback is executing when lbs_free_adapter() is called,\nthe callback will access freed memory since lbs_cfg_free() frees the\ncontaining structure immediately after lbs_free_adapter() returns.\n\nBoth timer callbacks (lbs_cmd_timeout_handler and lbs_tx_lockup_handler)\naccess priv->driver_lock, priv->cur_cmd, priv->dev, and other fields,\nwhich would all be use-after-free violations.\n\nUse timer_delete_sync() instead to ensure any running timer callback\nhas completed before returning.\n\nThis bug was introduced in commit 8f641d93c38a (\"libertas: detect TX\nlockups and reset hardware\") where del_timer() was used instead of\ndel_timer_sync() in the cleanup path. The command_timer has had the\nsame issue since the driver was first written.","published":"2026-03-25T10:26:41.844Z","updated":"2026-10-28T02:30:40.040448792Z","reserved":"2026-01-13T15:37:45.992Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"b15e0fa7adb4de3a03aee9e6fc4d83e5cf0a65e4","status":"affected","versionType":"git"},{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"09f3c30ab3b1371eaf9676a1b8add57bca763083","status":"affected","versionType":"git"},{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"3f9dec4a6d95d7f1f5e9e9dfdfa173c053bba8dc","status":"affected","versionType":"git"},{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"3c5c818c78b03a1725f3dcd566865c77b48dd3a6","status":"affected","versionType":"git"},{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"d0155fe68f31b339961cf2d4f92937d57e9384e6","status":"affected","versionType":"git"},{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"ed7d30f90b77f73a47498686ede83f622b7e4f0d","status":"affected","versionType":"git"},{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"a9f55b14486426d907459bced5825a25063bd922","status":"affected","versionType":"git"},{"version":"954ee164f4f4598afc172c0ec3865d0352e55a0b","lessThan":"03cc8f90d0537fcd4985c3319b4fafbf2e3fb1f0","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.24","status":"affected"},{"version":"0","lessThan":"2.6.24","status":"unaffected","versionType":"semver"},{"version":"5.10.253","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.167","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.130","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.78","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.17","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.7","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b15e0fa7adb4de3a03aee9e6fc4d83e5cf0a65e4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/09f3c30ab3b1371eaf9676a1b8add57bca763083","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3f9dec4a6d95d7f1f5e9e9dfdfa173c053bba8dc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3c5c818c78b03a1725f3dcd566865c77b48dd3a6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d0155fe68f31b339961cf2d4f92937d57e9384e6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ed7d30f90b77f73a47498686ede83f622b7e4f0d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a9f55b14486426d907459bced5825a25063bd922","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/03cc8f90d0537fcd4985c3319b4fafbf2e3fb1f0","tags":["Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23281.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23281","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00136,"epssPercentile":0.03112,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23281","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23281","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23281","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-23281","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}