{"id":"CVE-2026-98108","aliases":["CVE-2026-98108"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: fix chan mode for LE_CONN_REQ + EXT_FLOWCTL pchan","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix chan mode for LE_CONN_REQ + EXT_FLOWCTL pchan\n\nl2cap_new_connection() sets default value of channel mode to match the\nparent channel.  l2cap_le_connect_req() left this at the default, and\ncreated L2CAP_MODE_EXT_FLOWCTL channels if listening pchan has that\nmode.  This causes FLAG_DEFER_SETUP channels to reply to\nL2CAP_LE_CONN_REQ with L2CAP_ECRED_CONN_RSP, which is incorrect.\n\nIt can also result to stack OOB write (of l2cap_alloc_cid determined\nvalues) in l2cap_ecred_rsp_defer(), as l2cap_le_connect_req() does not\nlimit maximum number of deferred channels or check for duplicate ident.\n\nFix by setting chan->mode correctly in l2cap_le_connect_req().\n\nAlso check channel mode in l2cap_ecred_rsp_defer(), and do WARN_ON_ONCE\ninstead of OOB write to make it less brittle.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix chan mode for LE_CONN_REQ + EXT_FLOWCTL pchan\n\nl2cap_new_connection() sets default value of channel mode to match the\nparent channel.  l2cap_le_connect_req() left this at the default, and\ncreated L2CAP_MODE_EXT_FLOWCTL channels if listening pchan has that\nmode.  This causes FLAG_DEFER_SETUP channels to reply to\nL2CAP_LE_CONN_REQ with L2CAP_ECRED_CONN_RSP, which is incorrect.\n\nIt can also result to stack OOB write (of l2cap_alloc_cid determined\nvalues) in l2cap_ecred_rsp_defer(), as l2cap_le_connect_req() does not\nlimit maximum number of deferred channels or check for duplicate ident.\n\nFix by setting chan->mode correctly in l2cap_le_connect_req().\n\nAlso check channel mode in l2cap_ecred_rsp_defer(), and do WARN_ON_ONCE\ninstead of OOB write to make it less brittle.","source":"cvelist"}],"published":"2026-09-25T10:35:56.935Z","modified":"2026-11-12T18:27:45.737Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"ad0f44a3f1f688558ed876a0702bc2c82b0df689","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"564ae0e05e598aa895b9dbd18cb7d6eb64752869","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"aab17938998b29e75c3324763411aef3e300fc67","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"0e1fc7cab95ad958e55d70a5dfaaea687c9c639f","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"1074bcc57f741223f9fa82ce6afe5c3d783e4d10","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"5d5a625cbc854d4c4f68e4b16fcf6e682d9a9ed1","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"6cb79e6499228cfdbd4b3301371ce74d01cd2f80","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"4ef05db5b08b176a551b4a6287372045998806b0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.7","fixed":"5.10.271"},{"status":"affected","introduced":"5.11","fixed":"5.15.222"},{"status":"affected","introduced":"5.16","fixed":"6.1.189"},{"status":"affected","introduced":"6.2","fixed":"6.6.158"},{"status":"affected","introduced":"6.7","fixed":"6.12.111"},{"status":"affected","introduced":"6.13","fixed":"6.18.53"},{"status":"affected","introduced":"6.19","fixed":"7.2.7"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ad0f44a3f1f688558ed876a0702bc2c82b0df689","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/564ae0e05e598aa895b9dbd18cb7d6eb64752869","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aab17938998b29e75c3324763411aef3e300fc67","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e1fc7cab95ad958e55d70a5dfaaea687c9c639f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1074bcc57f741223f9fa82ce6afe5c3d783e4d10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d5a625cbc854d4c4f68e4b16fcf6e682d9a9ed1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cb79e6499228cfdbd4b3301371ce74d01cd2f80","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ef05db5b08b176a551b4a6287372045998806b0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98108","url":"https://www.cve.org/CVERecord?id=CVE-2026-98108","licence":"CVE Terms of Use","modified":"2026-10-19T09:14:00.739Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98108","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98108","licence":"Public domain","modified":"2026-11-12T18:27:45.737Z"}],"updatedAt":"2026-11-25T22:59:41.063Z","epss":{"score":0.00242,"percentile":0.16475,"date":"2026-12-01T12:00:22.000Z"}}