{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98290","id":"CVE-2026-98290","title":"Bluetooth: RFCOMM: avoid socket lock inversion in listener cleanup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: avoid socket lock inversion in listener cleanup\n\nrfcomm_sock_cleanup_listen() closes unaccepted child sockets through\nrfcomm_sock_close(), which takes the child socket lock before\nrfcomm_dlc_close() acquires rfcomm_mutex. The RFCOMM worker takes these\nlocks in reverse order while handling connections and DLC st","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: avoid socket lock inversion in listener cleanup\n\nrfcomm_sock_cleanup_listen() closes unaccepted child sockets through\nrfcomm_sock_close(), which takes the child socket lock before\nrfcomm_dlc_close() acquires rfcomm_mutex. The RFCOMM worker takes these\nlocks in reverse order while handling connections and DLC state changes,\nso lockdep reports a possible deadlock.\n\nClose dequeued children without taking their socket lock. The accept queue\nowns a reference to each child, and bt_accept_dequeue() locks the child\nwhile unlinking it and clearing its parent pointer.\n\nDropping the child lock makes it important to prevent a concurrent\nrfcomm_connect_ind() from enqueueing a new child after cleanup observes an\nempty queue. Set a listening socket to BT_CLOSED while its lock is still\nheld, before dropping the lock and draining the queue. The state check in\nrfcomm_connect_ind() then rejects new children once cleanup starts.","published":"2026-10-06T08:45:50.299Z","updated":"2026-11-19T17:27:38.201647948Z","reserved":"2026-09-25T10:25:14.336Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b7ce436a5d798bc59e71797952566608a4b4626b","lessThan":"eb4adaa46e4c9e6efa7be3ce06398f4d7c39b57c","status":"affected","versionType":"git"},{"version":"b7ce436a5d798bc59e71797952566608a4b4626b","lessThan":"4aafb47301a799d3e01230d6568c4e93524e1523","status":"affected","versionType":"git"},{"version":"b7ce436a5d798bc59e71797952566608a4b4626b","lessThan":"c741977e413f5b49d306700820fb55ccb8269f5a","status":"affected","versionType":"git"},{"version":"b7ce436a5d798bc59e71797952566608a4b4626b","lessThan":"c6792c441767256030606eb82dca5d5fc360dd9a","status":"affected","versionType":"git"},{"version":"b7ce436a5d798bc59e71797952566608a4b4626b","lessThan":"bfce253f039eb5f58b810af267942a9f59207254","status":"affected","versionType":"git"},{"version":"b7ce436a5d798bc59e71797952566608a4b4626b","lessThan":"18174b166547ef41973cc19feb5ef9cab39a8def","status":"affected","versionType":"git"},{"version":"b7ce436a5d798bc59e71797952566608a4b4626b","lessThan":"801fb950cae7048eb7d83b18857d1ca37b8cd5a4","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.222","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.54","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.8","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/eb4adaa46e4c9e6efa7be3ce06398f4d7c39b57c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4aafb47301a799d3e01230d6568c4e93524e1523","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c741977e413f5b49d306700820fb55ccb8269f5a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c6792c441767256030606eb82dca5d5fc360dd9a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bfce253f039eb5f58b810af267942a9f59207254","tags":["web"]},{"url":"https://git.kernel.org/stable/c/18174b166547ef41973cc19feb5ef9cab39a8def","tags":["web"]},{"url":"https://git.kernel.org/stable/c/801fb950cae7048eb7d83b18857d1ca37b8cd5a4","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98290.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98290","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00236,"epssPercentile":0.14842,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98290","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98290","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98290","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-98290","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}