{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99673",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.428Z",
        "datePublished": "2026-11-20T05:50:21.912Z",
        "dateUpdated": "2026-11-23T08:05:49.173Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:05:49.173Z"
            },
            "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()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/can/af_can.c",
                        "net/can/bcm.c",
                        "net/can/gw.c",
                        "net/can/isotp.c",
                        "net/can/raw.c"
                    ],
                    "versions": [
                        {
                            "version": "1a5751d58b14195f763b8c1d9ef33fb8a93e95e7",
                            "lessThan": "e7f686bf1dd85c2c128591052268df897d514fd2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e096a18867a5a989b510f6999d9c6b6622e8f7b",
                            "lessThan": "7678720471f4e1812c2a2d8ac81a6b8b0518d647",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e096a18867a5a989b510f6999d9c6b6622e8f7b",
                            "lessThan": "34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e096a18867a5a989b510f6999d9c6b6622e8f7b",
                            "lessThan": "de3e876a2081b7fe051ffdff6a6703ee77ec2599",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e096a18867a5a989b510f6999d9c6b6622e8f7b",
                            "lessThan": "c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e096a18867a5a989b510f6999d9c6b6622e8f7b",
                            "lessThan": "f4910431fdf7b2800f0bec9f161900511f9a8bcd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e096a18867a5a989b510f6999d9c6b6622e8f7b",
                            "lessThan": "27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e096a18867a5a989b510f6999d9c6b6622e8f7b",
                            "lessThan": "962947b69589881167054bae5accc8abfd5aa4b6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ac1feff6ea6495cbfd336f4438a6c6d140544a6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96340078d50a54f6a1252c62596bc44321c8bff9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.28",
                            "lessThan": "5.10.275",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.110",
                            "lessThan": "5.5",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.11.12",
                            "lessThan": "5.12",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/can/af_can.c",
                        "net/can/bcm.c",
                        "net/can/gw.c",
                        "net/can/isotp.c",
                        "net/can/raw.c"
                    ],
                    "versions": [
                        {
                            "version": "5.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10.28",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "7.4-rc2"
                                },
                                {
                                    "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}