{"id":"CVE-2026-72119","state":"PUBLISHED","title":"can: bcm: extend bcm_tx_lock usage for data and timer updates","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: bcm: extend bcm_tx_lock usage for data and timer updates\n\nStage new CAN frame content for an existing tx op into a kmalloc()'d\nbuffer and validate it there, mirroring the approach already used in\nbcm_rx_setup(). Only copy the validated data into op->frames while\nholding op->bcm_tx_lock, so bcm_can_tx() and bcm_tx_timeout_handler()\ncan no longer observe a partially updated or unvalidated frame.\n\nAdd a missing error path for memcpy_from_msg() when copying CAN frame\ndata from userspace.\n\nAlso move the kt_ival1/kt_ival2/ival1/ival2 updates in bcm_tx_setup()\nunder op->bcm_tx_lock, and read kt_ival1/kt_ival2/count under the same\nlock in bcm_tx_set_expiry() and bcm_tx_timeout_handler(), closing the\ntorn 64-bit ktime_t read on 32-bit platforms.","publishedAt":"2026-08-15T05:52:58.479Z","updatedAt":"2026-10-16T18:44:56.991Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7595de7bc56e0e52b74e56c90f7e247bf626d628","status":"affected","lessThan":"a538b072ee074c9b41b9d9c15a6861a963e30755","versionType":"git"},{"version":"fbd8fdc2b218e979cfe422b139b8f74c12419d1f","status":"affected","lessThan":"63422347b4c782f429748b2a09cd3cf3b77e6abd","versionType":"git"},{"version":"2a437b86ac5a9893c902f30ef66815bf13587bf6","status":"affected","lessThan":"37917e432e50b7de2b64230974380132a30f7270","versionType":"git"},{"version":"76c84c3728178b2d38d5604e399dfe8b0752645e","status":"affected","lessThan":"52f06e7603780de100233713ddaf971d422e10ef","versionType":"git"},{"version":"cc55dd28c20a6611e30596019b3b2f636819a4c0","status":"affected","lessThan":"972fd66bb08fdef1090abe43196ca8da07216d13","versionType":"git"},{"version":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","status":"affected","lessThan":"bd46f55dec608daa44b45dcf3328517630ad8e40","versionType":"git"},{"version":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","status":"affected","lessThan":"337f966c00662d81ad82cf5a4bbb150b2e32c0d4","versionType":"git"},{"version":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","status":"affected","lessThan":"12ce799f7ab1e05bd8fbf79e46f403bfe5597ebc","versionType":"git"},{"version":"8f1c022541bf5a923c8d6fa483112c15250f30a4","status":"affected","versionType":"git"},{"version":"c4e8a172501e677ebd8ea9d9161d97dc4df56fbd","status":"affected","versionType":"git"},{"version":"5.10.238","status":"affected","lessThan":"5.10.265","versionType":"semver"},{"version":"5.15.185","status":"affected","lessThan":"5.15.216","versionType":"semver"},{"version":"6.1.141","status":"affected","lessThan":"6.1.183","versionType":"semver"},{"version":"6.6.93","status":"affected","lessThan":"6.6.148","versionType":"semver"},{"version":"6.12.31","status":"affected","lessThan":"6.12.101","versionType":"semver"},{"version":"5.4.294","status":"affected","lessThan":"5.5","versionType":"semver"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/can/bcm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/can/bcm.c"]}],"references":["https://git.kernel.org/stable/c/a538b072ee074c9b41b9d9c15a6861a963e30755","https://git.kernel.org/stable/c/63422347b4c782f429748b2a09cd3cf3b77e6abd","https://git.kernel.org/stable/c/37917e432e50b7de2b64230974380132a30f7270","https://git.kernel.org/stable/c/52f06e7603780de100233713ddaf971d422e10ef","https://git.kernel.org/stable/c/972fd66bb08fdef1090abe43196ca8da07216d13","https://git.kernel.org/stable/c/bd46f55dec608daa44b45dcf3328517630ad8e40","https://git.kernel.org/stable/c/337f966c00662d81ad82cf5a4bbb150b2e32c0d4","https://git.kernel.org/stable/c/12ce799f7ab1e05bd8fbf79e46f403bfe5597ebc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72119.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72119","state":"PUBLISHED","datePublished":"2026-08-15T05:52:58.479Z","dateUpdated":"2026-10-16T18:44:56.991Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.906Z"},"containers":{"cna":{"title":"can: bcm: extend bcm_tx_lock usage for data and timer updates","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: bcm: extend bcm_tx_lock usage for data and timer updates\n\nStage new CAN frame content for an existing tx op into a kmalloc()'d\nbuffer and validate it there, mirroring the approach already used in\nbcm_rx_setup(). Only copy the validated data into op->frames while\nholding op->bcm_tx_lock, so bcm_can_tx() and bcm_tx_timeout_handler()\ncan no longer observe a partially updated or unvalidated frame.\n\nAdd a missing error path for memcpy_from_msg() when copying CAN frame\ndata from userspace.\n\nAlso move the kt_ival1/kt_ival2/ival1/ival2 updates in bcm_tx_setup()\nunder op->bcm_tx_lock, and read kt_ival1/kt_ival2/count under the same\nlock in bcm_tx_set_expiry() and bcm_tx_timeout_handler(), closing the\ntorn 64-bit ktime_t read on 32-bit platforms."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7595de7bc56e0e52b74e56c90f7e247bf626d628","status":"affected","lessThan":"a538b072ee074c9b41b9d9c15a6861a963e30755","versionType":"git"},{"version":"fbd8fdc2b218e979cfe422b139b8f74c12419d1f","status":"affected","lessThan":"63422347b4c782f429748b2a09cd3cf3b77e6abd","versionType":"git"},{"version":"2a437b86ac5a9893c902f30ef66815bf13587bf6","status":"affected","lessThan":"37917e432e50b7de2b64230974380132a30f7270","versionType":"git"},{"version":"76c84c3728178b2d38d5604e399dfe8b0752645e","status":"affected","lessThan":"52f06e7603780de100233713ddaf971d422e10ef","versionType":"git"},{"version":"cc55dd28c20a6611e30596019b3b2f636819a4c0","status":"affected","lessThan":"972fd66bb08fdef1090abe43196ca8da07216d13","versionType":"git"},{"version":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","status":"affected","lessThan":"bd46f55dec608daa44b45dcf3328517630ad8e40","versionType":"git"},{"version":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","status":"affected","lessThan":"337f966c00662d81ad82cf5a4bbb150b2e32c0d4","versionType":"git"},{"version":"c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7","status":"affected","lessThan":"12ce799f7ab1e05bd8fbf79e46f403bfe5597ebc","versionType":"git"},{"version":"8f1c022541bf5a923c8d6fa483112c15250f30a4","status":"affected","versionType":"git"},{"version":"c4e8a172501e677ebd8ea9d9161d97dc4df56fbd","status":"affected","versionType":"git"},{"version":"5.10.238","status":"affected","lessThan":"5.10.265","versionType":"semver"},{"version":"5.15.185","status":"affected","lessThan":"5.15.216","versionType":"semver"},{"version":"6.1.141","status":"affected","lessThan":"6.1.183","versionType":"semver"},{"version":"6.6.93","status":"affected","lessThan":"6.6.148","versionType":"semver"},{"version":"6.12.31","status":"affected","lessThan":"6.12.101","versionType":"semver"},{"version":"5.4.294","status":"affected","lessThan":"5.5","versionType":"semver"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/can/bcm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/can/bcm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a538b072ee074c9b41b9d9c15a6861a963e30755"},{"url":"https://git.kernel.org/stable/c/63422347b4c782f429748b2a09cd3cf3b77e6abd"},{"url":"https://git.kernel.org/stable/c/37917e432e50b7de2b64230974380132a30f7270"},{"url":"https://git.kernel.org/stable/c/52f06e7603780de100233713ddaf971d422e10ef"},{"url":"https://git.kernel.org/stable/c/972fd66bb08fdef1090abe43196ca8da07216d13"},{"url":"https://git.kernel.org/stable/c/bd46f55dec608daa44b45dcf3328517630ad8e40"},{"url":"https://git.kernel.org/stable/c/337f966c00662d81ad82cf5a4bbb150b2e32c0d4"},{"url":"https://git.kernel.org/stable/c/12ce799f7ab1e05bd8fbf79e46f403bfe5597ebc"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only through PF_CAN/CAN_BCM socket sendmsg() TX_SETUP updates racing hrtimer-driven bcm_can_tx(); it is not triggered by remote network services or CAN bus traffic alone.\nAC:L - The attacker controls both sides of the race by creating cyclic TX ops with STARTTIMER/SETTIMER and repeatedly issuing TX_SETUP while the softirq hrtimer fires, making the window reliably winnable without external timing luck.\nPR:L - bcm_sendmsg()/bcm_connect() enforce no capability checks; any local user with access to a CAN interface (including vcan created with CAP_NET_ADMIN inside an unprivileged user namespace) can open BCM sockets and drive TX_SETUP.\nUI:N - Exploitation requires only the attacker opening a BCM socket and sending TX_SETUP messages; no victim interaction such as mounting filesystems or opening files is needed.\nS:U - Impact is confined to kernel memory/state corruption and local privilege effects on the host running CAN BCM; it does not cross a VM, container, or IOMMU security boundary by itself.\nC:H - Racing updates can let bcm_can_tx() transmit partially updated or unvalidated frames (e.g., len>64) before bcm_tx_setup() rejects them, and many CAN driver xmit paths memcpy(cf->data, cf->len) trusting len, causing kernel out-of-bounds reads.\nI:H - Concurrent unsynchronized writes to op->frames, flags, count, and ktime_t timer fields corrupt shared in-kernel BCM state that directly feeds skb construction and driver transmission, providing attacker-influenced memory corruption primitives.\nA:H - Observing torn/unvalidated frames in bcm_can_tx() during active timers can trigger kernel WARN/Oops/panic via out-of-bounds accesses in CAN drivers, and torn ktime_t/count reads can disrupt cyclic transmission causing denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:36:13.917Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.238","versionEndExcluding":"5.10.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.185","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.141","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.93","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.31","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.294"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72119","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:41:54.989414Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:44:56.991Z"}}]}}}