{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138935",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.904Z",
        "datePublished": "2026-11-30T13:26:21.053Z",
        "dateUpdated": "2026-11-30T13:26:21.053Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:21.053Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: adi: free the IRQ before unregistering the master\n\nadi_i3c_master_irq() is requested with devm_request_irq(), so it stays\nregistered when adi_i3c_master_remove() runs, and the writes masking the\ncontroller IRQ sources do not synchronize with a handler that is already\nrunning on another CPU. i3c_master_unregister() then frees the\nstruct i3c_dev_desc objects that master->ibi.slots[] still point to, so\nthe IBI path in adi_i3c_master_handle_ibi() can dereference freed memory.\n\nFix this by storing the IRQ number in the private structure and calling\ndevm_free_irq() after the IRQ sources are masked, so a running handler\nis finished before the master is torn down.\n\nThis issue was found by an in-house static analysis tool."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/i3c/master/adi-i3c-master.c"
                    ],
                    "versions": [
                        {
                            "version": "a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086",
                            "lessThan": "d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086",
                            "lessThan": "1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086",
                            "lessThan": "1c1e2d90aa452764df66bb1dd774aa0d06d89cc8",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/i3c/master/adi-i3c-master.c"
                    ],
                    "versions": [
                        {
                            "version": "6.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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": "6.18",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1c1e2d90aa452764df66bb1dd774aa0d06d89cc8"
                }
            ],
            "title": "i3c: master: adi: free the IRQ before unregistering the master",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}