Bluetooth: hci_sock: reject out-of-range OCF values
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: reject out-of-range OCF values The raw HCI socket security filter has 128 OCF bits per supported OGF, but masks the 10-bit OCF with 127 before looking up the command. An unprivileged socket can therefore submit a reserved OCF that aliases an allowlisted command modulo 128. A conforming controller should reject reserved opcodes. Nevertheless, the security decision must apply to the opcode that will actually be sent, especially since controller-specific behavior is outside the host stack's control. Reject OCF values that cannot be represented by the security filter instead of aliasing them onto an unrelated command.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 70b0a27bdde0cb524349c8261202c7c9393cf5e9; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 598686f5d65b9af2223ed9d22fadba16e09f6ca8; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in c1fd465ea1c5aef459f9bc3ac602b5353e0f536f; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 68f0bcc4e16e31ff8dbe6ca93116eb70d7b6ac44; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 320dedad15e8bbaecc8d2d7fd4189defb84caa85; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 173457fa3e99ef4188dd0fe63e4dee98d0e441a9; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 47d67ec424e63e61e9eb58633d43a9d58a1852b6; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in e93fad891c72deb84cae49430163b384ebcc92b1
- Linux Linux
2.6.12
- KernelLinux
From 2.6.12 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9
References 8
git.kernel.org
- stable/c/70b0a27bdde0cb524349c8261202c7c9393cf5e9
- stable/c/598686f5d65b9af2223ed9d22fadba16e09f6ca8
- stable/c/c1fd465ea1c5aef459f9bc3ac602b5353e0f536f
- stable/c/68f0bcc4e16e31ff8dbe6ca93116eb70d7b6ac44
- stable/c/320dedad15e8bbaecc8d2d7fd4189defb84caa85
- stable/c/173457fa3e99ef4188dd0fe63e4dee98d0e441a9
- stable/c/47d67ec424e63e61e9eb58633d43a9d58a1852b6
- stable/c/e93fad891c72deb84cae49430163b384ebcc92b1