{"api_version":"1","generated_at":"2026-12-01T13:37:09+00:00","cve":"CVE-2026-99673","urls":{"html":"https://cve.report/CVE-2026-99673","api":"https://cve.report/api/cve/CVE-2026-99673.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99673","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99673"},"summary":{"title":"can: replace ARPHRD_CAN type checks with can_get_ml_priv()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: replace ARPHRD_CAN type checks with can_get_ml_priv()\n\nCommit 4e096a18867a (\"net: introduce CAN specific pointer in the struct\nnet_device\") introduced an explicit way to assign the midlayer private\npointer (dev->ml_priv) to named users like ML_PRIV_CAN. A valid pointer\nreturned by can_get_ml_priv() therefore identifies a real CAN device.\n\nThe referenced commit only converted the j1939 and proc code to this\ncheck, while the other parts of the CAN subsystem still rely on\ndev->type == ARPHRD_CAN.\n\nThe TUNSETLINK ioctl allows a down TUN/TAP device to set its hardware\ntype to ARPHRD_CAN while dev->ml_priv remains NULL. Such a repurposed\nnetdevice passes the ARPHRD_CAN checks.\n\nCommit 8aa59e355949 (\"can: af_can: fix NULL pointer dereference in\ncan_rx_register()\") already made can_rx_register() reject such devices.\nBut can_rx_unregister() still only checks dev->type and dereferences\nthe NULL ml_priv when it walks the receive lists of the device.\n\nCAN_ISOTP reaches this path: isotp_bind() ignores the return values of\ncan_rx_register() and binds the socket anyway. When the socket is\nreleased or the device is unregistered, isotp_release() and\nisotp_notify() remove the filters that have never been registered and\ntrigger the NULL pointer dereference in can_rx_unregister(). This only\nrequires owning a TUN/TAP device or CAP_NET_ADMIN in an unprivileged\nuser namespace.\n\nConvert the remaining ARPHRD_CAN checks in af_can, bcm, gw, isotp and\nraw to can_get_ml_priv().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:01","updated_at":"2026-11-23 08:18:08"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b","name":"https://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19","name":"https://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc","name":"https://git.kernel.org/stable/c/34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd","name":"https://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6","name":"https://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e7f686bf1dd85c2c128591052268df897d514fd2","name":"https://git.kernel.org/stable/c/e7f686bf1dd85c2c128591052268df897d514fd2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7678720471f4e1812c2a2d8ac81a6b8b0518d647","name":"https://git.kernel.org/stable/c/7678720471f4e1812c2a2d8ac81a6b8b0518d647","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/de3e876a2081b7fe051ffdff6a6703ee77ec2599","name":"https://git.kernel.org/stable/c/de3e876a2081b7fe051ffdff6a6703ee77ec2599","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99673","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99673","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1a5751d58b14195f763b8c1d9ef33fb8a93e95e7 e7f686bf1dd85c2c128591052268df897d514fd2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e096a18867a5a989b510f6999d9c6b6622e8f7b 7678720471f4e1812c2a2d8ac81a6b8b0518d647 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e096a18867a5a989b510f6999d9c6b6622e8f7b 34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e096a18867a5a989b510f6999d9c6b6622e8f7b de3e876a2081b7fe051ffdff6a6703ee77ec2599 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e096a18867a5a989b510f6999d9c6b6622e8f7b c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e096a18867a5a989b510f6999d9c6b6622e8f7b f4910431fdf7b2800f0bec9f161900511f9a8bcd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e096a18867a5a989b510f6999d9c6b6622e8f7b 27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e096a18867a5a989b510f6999d9c6b6622e8f7b 962947b69589881167054bae5accc8abfd5aa4b6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4ac1feff6ea6495cbfd336f4438a6c6d140544a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 96340078d50a54f6a1252c62596bc44321c8bff9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.28 5.10.275 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.4.110 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.11.12 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99673","cve":"CVE-2026-99673","epss":"0.001770000","percentile":"0.072650000","score_date":"2026-11-23","updated_at":"2026-11-24 00:07:46"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/can/af_can.c","net/can/bcm.c","net/can/gw.c","net/can/isotp.c","net/can/raw.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e7f686bf1dd85c2c128591052268df897d514fd2","status":"affected","version":"1a5751d58b14195f763b8c1d9ef33fb8a93e95e7","versionType":"git"},{"lessThan":"7678720471f4e1812c2a2d8ac81a6b8b0518d647","status":"affected","version":"4e096a18867a5a989b510f6999d9c6b6622e8f7b","versionType":"git"},{"lessThan":"34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc","status":"affected","version":"4e096a18867a5a989b510f6999d9c6b6622e8f7b","versionType":"git"},{"lessThan":"de3e876a2081b7fe051ffdff6a6703ee77ec2599","status":"affected","version":"4e096a18867a5a989b510f6999d9c6b6622e8f7b","versionType":"git"},{"lessThan":"c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b","status":"affected","version":"4e096a18867a5a989b510f6999d9c6b6622e8f7b","versionType":"git"},{"lessThan":"f4910431fdf7b2800f0bec9f161900511f9a8bcd","status":"affected","version":"4e096a18867a5a989b510f6999d9c6b6622e8f7b","versionType":"git"},{"lessThan":"27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19","status":"affected","version":"4e096a18867a5a989b510f6999d9c6b6622e8f7b","versionType":"git"},{"lessThan":"962947b69589881167054bae5accc8abfd5aa4b6","status":"affected","version":"4e096a18867a5a989b510f6999d9c6b6622e8f7b","versionType":"git"},{"status":"affected","version":"4ac1feff6ea6495cbfd336f4438a6c6d140544a6","versionType":"git"},{"status":"affected","version":"96340078d50a54f6a1252c62596bc44321c8bff9","versionType":"git"},{"lessThan":"5.10.275","status":"affected","version":"5.10.28","versionType":"semver"},{"lessThan":"5.5","status":"affected","version":"5.4.110","versionType":"semver"},{"lessThan":"5.12","status":"affected","version":"5.11.12","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/can/af_can.c","net/can/bcm.c","net/can/gw.c","net/can/isotp.c","net/can/raw.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.12"},{"lessThan":"5.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.10.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.110","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: replace ARPHRD_CAN type checks with can_get_ml_priv()\n\nCommit 4e096a18867a (\"net: introduce CAN specific pointer in the struct\nnet_device\") introduced an explicit way to assign the midlayer private\npointer (dev->ml_priv) to named users like ML_PRIV_CAN. A valid pointer\nreturned by can_get_ml_priv() therefore identifies a real CAN device.\n\nThe referenced commit only converted the j1939 and proc code to this\ncheck, while the other parts of the CAN subsystem still rely on\ndev->type == ARPHRD_CAN.\n\nThe TUNSETLINK ioctl allows a down TUN/TAP device to set its hardware\ntype to ARPHRD_CAN while dev->ml_priv remains NULL. Such a repurposed\nnetdevice passes the ARPHRD_CAN checks.\n\nCommit 8aa59e355949 (\"can: af_can: fix NULL pointer dereference in\ncan_rx_register()\") already made can_rx_register() reject such devices.\nBut can_rx_unregister() still only checks dev->type and dereferences\nthe NULL ml_priv when it walks the receive lists of the device.\n\nCAN_ISOTP reaches this path: isotp_bind() ignores the return values of\ncan_rx_register() and binds the socket anyway. When the socket is\nreleased or the device is unregistered, isotp_release() and\nisotp_notify() remove the filters that have never been registered and\ntrigger the NULL pointer dereference in can_rx_unregister(). This only\nrequires owning a TUN/TAP device or CAP_NET_ADMIN in an unprivileged\nuser namespace.\n\nConvert the remaining ARPHRD_CAN checks in af_can, bcm, gw, isotp and\nraw to can_get_ml_priv()."}],"providerMetadata":{"dateUpdated":"2026-11-23T08:05:49.173Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e7f686bf1dd85c2c128591052268df897d514fd2"},{"url":"https://git.kernel.org/stable/c/7678720471f4e1812c2a2d8ac81a6b8b0518d647"},{"url":"https://git.kernel.org/stable/c/34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc"},{"url":"https://git.kernel.org/stable/c/de3e876a2081b7fe051ffdff6a6703ee77ec2599"},{"url":"https://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b"},{"url":"https://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd"},{"url":"https://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19"},{"url":"https://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6"}],"title":"can: replace ARPHRD_CAN type checks with can_get_ml_priv()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99673","datePublished":"2026-11-20T05:50:21.912Z","dateReserved":"2026-09-25T10:25:14.428Z","dateUpdated":"2026-11-23T08:05:49.173Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:01","lastModifiedDate":"2026-11-23 08:18:08","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99673","Ordinal":"1","Title":"can: replace ARPHRD_CAN type checks with can_get_ml_priv()","CVE":"CVE-2026-99673","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99673","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: replace ARPHRD_CAN type checks with can_get_ml_priv()\n\nCommit 4e096a18867a (\"net: introduce CAN specific pointer in the struct\nnet_device\") introduced an explicit way to assign the midlayer private\npointer (dev->ml_priv) to named users like ML_PRIV_CAN. A valid pointer\nreturned by can_get_ml_priv() therefore identifies a real CAN device.\n\nThe referenced commit only converted the j1939 and proc code to this\ncheck, while the other parts of the CAN subsystem still rely on\ndev->type == ARPHRD_CAN.\n\nThe TUNSETLINK ioctl allows a down TUN/TAP device to set its hardware\ntype to ARPHRD_CAN while dev->ml_priv remains NULL. Such a repurposed\nnetdevice passes the ARPHRD_CAN checks.\n\nCommit 8aa59e355949 (\"can: af_can: fix NULL pointer dereference in\ncan_rx_register()\") already made can_rx_register() reject such devices.\nBut can_rx_unregister() still only checks dev->type and dereferences\nthe NULL ml_priv when it walks the receive lists of the device.\n\nCAN_ISOTP reaches this path: isotp_bind() ignores the return values of\ncan_rx_register() and binds the socket anyway. When the socket is\nreleased or the device is unregistered, isotp_release() and\nisotp_notify() remove the filters that have never been registered and\ntrigger the NULL pointer dereference in can_rx_unregister(). This only\nrequires owning a TUN/TAP device or CAP_NET_ADMIN in an unprivileged\nuser namespace.\n\nConvert the remaining ARPHRD_CAN checks in af_can, bcm, gw, isotp and\nraw to can_get_ml_priv().","Type":"Description","Title":"can: replace ARPHRD_CAN type checks with can_get_ml_priv()"}]}}}