{"id":"CVE-2026-72047","aliases":["CVE-2026-72047"],"related":[],"kind":"vulnerability","state":"published","title":"ieee802154: ca8210: fix pointer truncation in kfifo on 64-bit","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nieee802154: ca8210: fix pointer truncation in kfifo on 64-bit\n\nca8210_test_int_driver_write() and ca8210_test_int_user_read() exchange\na kmalloc'd buffer pointer through a struct kfifo, but pass a literal\n'4' as the byte count to kfifo_in()/kfifo_out().\n\nThis is correct on 32-bit (pointer = 4 bytes), but on 64-bit only the\nlow 4 bytes of the 8-byte pointer are written into the FIFO. The reader\nthen reads back 4 bytes into an 8-byte local pointer variable, leaving\nthe upper 4 bytes uninitialized stack data. The first dereference of\nthe reconstructed pointer (fifo_buffer[1]) accesses an arbitrary kernel\naddress and generally results in an oops.\n\nUse sizeof(fifo_buffer) so the byte count matches pointer width on every\narchitecture.\n\nThe driver has no architecture restriction in Kconfig, so any 64-bit\nbuild with CONFIG_IEEE802154_CA8210_DEBUGFS=y is exposed. Issue has\nbeen latent since the driver was added in 2017 because it is most\ncommonly deployed on 32-bit MCUs.\n\nFound via a custom Coccinelle semantic patch hunting for short-byte\nkfifo I/O on byte-mode kfifos used to shuttle pointers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nieee802154: ca8210: fix pointer truncation in kfifo on 64-bit\n\nca8210_test_int_driver_write() and ca8210_test_int_user_read() exchange\na kmalloc'd buffer pointer through a struct kfifo, but pass a literal\n'4' as the byte count to kfifo_in()/kfifo_out().\n\nThis is correct on 32-bit (pointer = 4 bytes), but on 64-bit only the\nlow 4 bytes of the 8-byte pointer are written into the FIFO. The reader\nthen reads back 4 bytes into an 8-byte local pointer variable, leaving\nthe upper 4 bytes uninitialized stack data. The first dereference of\nthe reconstructed pointer (fifo_buffer[1]) accesses an arbitrary kernel\naddress and generally results in an oops.\n\nUse sizeof(fifo_buffer) so the byte count matches pointer width on every\narchitecture.\n\nThe driver has no architecture restriction in Kconfig, so any 64-bit\nbuild with CONFIG_IEEE802154_CA8210_DEBUGFS=y is exposed. Issue has\nbeen latent since the driver was added in 2017 because it is most\ncommonly deployed on 32-bit MCUs.\n\nFound via a custom Coccinelle semantic patch hunting for short-byte\nkfifo I/O on byte-mode kfifos used to shuttle pointers.","source":"cvelist"}],"published":"2026-08-15T05:52:05.510Z","modified":"2026-08-17T06:18:02.747Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"2c1664ccfae653979b38788211240b5a1ee317ed","status":"affected"},{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"093aacb0c56d5c693e3169a0224062e77c3fd0c0","status":"affected"},{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"87dab14a4f68895d6f4d798e6ee3556cd64e8c72","status":"affected"},{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"1fe2643d0b24ca3cdd61a31a45c2d3233dc6cbfe","status":"affected"},{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"65dc342274a01616f5c17105f7360a3b4bfd7a3d","status":"affected"},{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"2059c28bd725beded01277cdf1f67be33e714323","status":"affected"},{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"d8ce67fa6a5e6929f5414e933ff9665176c2bce6","status":"affected"},{"type":"git","introduced":"ded845a781a578dfb0b5b2c138e5a067aa3b1242","fixed":"6d7f7bcf225b2d566176bf6229dbd1252940cb3c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2c1664ccfae653979b38788211240b5a1ee317ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/093aacb0c56d5c693e3169a0224062e77c3fd0c0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87dab14a4f68895d6f4d798e6ee3556cd64e8c72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fe2643d0b24ca3cdd61a31a45c2d3233dc6cbfe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65dc342274a01616f5c17105f7360a3b4bfd7a3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2059c28bd725beded01277cdf1f67be33e714323","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8ce67fa6a5e6929f5414e933ff9665176c2bce6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d7f7bcf225b2d566176bf6229dbd1252940cb3c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72047","url":"https://www.cve.org/CVERecord?id=CVE-2026-72047","licence":"CVE Terms of Use","modified":"2026-08-17T05:07:12.985Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72047","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72047","licence":"Public domain","modified":"2026-08-17T06:18:02.747Z"}],"updatedAt":"2026-11-25T22:59:32.985Z","epss":{"score":0.0021,"percentile":0.11892,"date":"2026-12-01T12:00:22.000Z"}}