{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53281","id":"CVE-2023-53281","title":"drivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()\n\nCommit 041879b12ddb (\"drivers: staging: rtl8192bs: Fix deadlock in\nrtw_joinbss_event_prehandle()\") besides fixing the deadlock also\nmodified _rtw_join_timeout_handler() to use spin_[un]lock_irq()\ninstead of spin_[un]lock_bh().\n\n_rtw_join_timeout_handler() ca","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()\n\nCommit 041879b12ddb (\"drivers: staging: rtl8192bs: Fix deadlock in\nrtw_joinbss_event_prehandle()\") besides fixing the deadlock also\nmodified _rtw_join_timeout_handler() to use spin_[un]lock_irq()\ninstead of spin_[un]lock_bh().\n\n_rtw_join_timeout_handler() calls rtw_do_join() which takes\npmlmepriv->scanned_queue.lock using spin_[un]lock_bh(). This\nspin_unlock_bh() call re-enables softirqs which triggers an oops in\nkernel/softirq.c: __local_bh_enable_ip() when it calls\nlockdep_assert_irqs_enabled():\n\n[  244.506087] WARNING: CPU: 2 PID: 0 at kernel/softirq.c:376 __local_bh_enable_ip+0xa6/0x100\n...\n[  244.509022] Call Trace:\n[  244.509048]  <IRQ>\n[  244.509100]  _rtw_join_timeout_handler+0x134/0x170 [r8723bs]\n[  244.509468]  ? __pfx__rtw_join_timeout_handler+0x10/0x10 [r8723bs]\n[  244.509772]  ? __pfx__rtw_join_timeout_handler+0x10/0x10 [r8723bs]\n[  244.510076]  call_timer_fn+0x95/0x2a0\n[  244.510200]  __run_timers.part.0+0x1da/0x2d0\n\nThis oops is causd by the switch to spin_[un]lock_irq() which disables\nthe IRQs for the entire duration of _rtw_join_timeout_handler().\n\nDisabling the IRQs is not necessary since all code taking this lock\nruns from either user contexts or from softirqs, switch back to\nspin_[un]lock_bh() to fix this.","published":"2025-09-16T08:11:15.364Z","updated":"2026-11-17T07:00:41.692995123Z","reserved":"2025-09-16T08:09:37.991Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ae60744d5fad840b9d056d35b4b652d95e755846","lessThan":"209850f17717a3b5cc558578bef5631ac7045539","status":"affected","versionType":"git"},{"version":"041879b12ddb0c6c83ed9c0bdd10dc82a056f2fc","lessThan":"2a50e44a66d268ee5db3d177f1fdc1503dbce6e7","status":"affected","versionType":"git"},{"version":"041879b12ddb0c6c83ed9c0bdd10dc82a056f2fc","lessThan":"dc327e87c6d9bfd9ee08e76396b3c0ba848ec554","status":"affected","versionType":"git"},{"version":"041879b12ddb0c6c83ed9c0bdd10dc82a056f2fc","lessThan":"4ab1bace1dd3875371b481ef4301c4671bddea22","status":"affected","versionType":"git"},{"version":"041879b12ddb0c6c83ed9c0bdd10dc82a056f2fc","lessThan":"215792eda008f6a1e7ed9d77fa20d582d22bb114","status":"affected","versionType":"git"},{"version":"1f6c99b94ca3caad346876b3e22e3ca3d25bc8ee","status":"affected","versionType":"git"},{"version":"eca9748d9267a38d532464e3305a38629e9c35a9","status":"affected","versionType":"git"},{"version":"5.15.47","lessThan":"5.15.111","status":"affected","versionType":"semver"},{"version":"5.17.15","lessThan":"5.18","status":"affected","versionType":"semver"},{"version":"5.18.4","lessThan":"5.19","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"5.15.111","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.28","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.15","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3.2","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-667"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/209850f17717a3b5cc558578bef5631ac7045539","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2a50e44a66d268ee5db3d177f1fdc1503dbce6e7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dc327e87c6d9bfd9ee08e76396b3c0ba848ec554","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4ab1bace1dd3875371b481ef4301c4671bddea22","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/215792eda008f6a1e7ed9d77fa20d582d22bb114","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53281.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53281","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":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00125,"epssPercentile":0.02306,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53281","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53281","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53281","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-2023-53281","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}