Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix accepting multiple L2CAP_ECRED_CONN_REQ Currently the code attempts to accept requests regardless of the command identifier which may cause multiple requests to be marked as pending (FLAG_DEFER_SETUP) which can cause more than L2CAP_ECRED_MAX_CID(5) to be allocated in l2cap_ecred_rsp_defer causing an overflow. The spec is quite clear that the same identifier shall not be used on subsequent requests: 'Within each signaling channel a different Identifier shall be used for each successive request or indication.' https://www.bluetooth.com/wp-content/uploads/Files/Specification/HTML/Core-62/out/en/host/logical-link-control-and-adaptation-protocol-specification.html#UUID-32a25a06-4aa4-c6c7-77c5-dcfe3682355d So this attempts to check if there are any channels pending with the same identifier and rejects if any are found.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 15f02b91056253e8cdc592888f431da0731337b8 before 10a7a702542240d5edb2b39450ac951c59ccd009; affected 15f02b91056253e8cdc592888f431da0731337b8 before 46e5b71666fb7652082e4e214a3365f4b14f1dc3; affected 15f02b91056253e8cdc592888f431da0731337b8 before fb4a3a26483f3ea2cd21c7a2f7c45d5670600465; affected 15f02b91056253e8cdc592888f431da0731337b8 before 2124d82fd25e1671bb3ceb37998af5aae5903e06; affected 15f02b91056253e8cdc592888f431da0731337b8 before 6b949a6b33cbdf621d9fc6f0c48ac00915dbf514; affected 15f02b91056253e8cdc592888f431da0731337b8 before 8d0d94f8ba5b3a0beec3b0da558b9bea48018117; affected 15f02b91056253e8cdc592888f431da0731337b8 before e72ee455297b794b852e5cea8d2d7bb17312172a; affected 15f02b91056253e8cdc592888f431da0731337b8 before 5b3e2052334f2ff6d5200e952f4aa66994d09899 |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 5.10.253 through 5.10.*; unaffected 5.15.203 through 5.15.*; unaffected 6.1.167 through 6.1.*; unaffected 6.6.130 through 6.6.*; unaffected 6.12.78 through 6.12.*; unaffected 6.18.20 through 6.18.*; unaffected 6.19.10 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/10a7a702542240d5edb2b39450ac951c59ccd009
- https://git.kernel.org/stable/c/46e5b71666fb7652082e4e214a3365f4b14f1dc3
- https://git.kernel.org/stable/c/fb4a3a26483f3ea2cd21c7a2f7c45d5670600465
- https://git.kernel.org/stable/c/2124d82fd25e1671bb3ceb37998af5aae5903e06
- https://git.kernel.org/stable/c/6b949a6b33cbdf621d9fc6f0c48ac00915dbf514
- https://git.kernel.org/stable/c/8d0d94f8ba5b3a0beec3b0da558b9bea48018117
- https://git.kernel.org/stable/c/e72ee455297b794b852e5cea8d2d7bb17312172a
- https://git.kernel.org/stable/c/5b3e2052334f2ff6d5200e952f4aa66994d09899
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.