{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-93817",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-18T17:59:28.791Z",
        "datePublished": "2026-09-24T16:02:54.039Z",
        "dateUpdated": "2026-10-21T12:52:40.858Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-21T12:52:40.858Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Fix addr_filter_ranges lifetime\n\nLee Jia Jie reported that since event::addr_filter_ranges is used\nunder RCU, it should be RCU freed."
                }
            ],
            "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 buggy kfree of event->addr_filter_ranges is in __free_event(), reached from close(2) via perf_release() → perf_event_release_kernel() → put_event() → _free_event(). The concurrent use is a local mmap(2)/exec that hits perf_event_mmap()/perf_event_exec() → perf_iterate_ctx(). No remote protocol supplies the triggering state.\nAC:L - The attacker sets attr.inherit, opens an intel_pt/cs_etm event, issues PERF_EVENT_IOC_SET_FILTER, then forks/clones. close() on the parent fd kfree's the child's addr_filter_ranges in __free_event() while the child mmap()s a VM_EXEC mapping so __perf_addr_filters_adjust() writes the freed array. Both sides are attacker-driven.\nPR:L - Default perf_event_paranoid=2 still allows an unprivileged per-task intel_pt or cs_etm event with exclude_kernel set; pt_event_init() and etm_event_init() have no capable() check, and find_get_context() calls perf_allow_cpu() only for pid==-1. PERF_EVENT_IOC_SET_FILTER is then ioctl'd on that fd via perf_ioctl().\nUI:N - The attacker performs sys_perf_event_open(), PERF_EVENT_IOC_SET_FILTER, fork/clone, mmap() of the filtered file, and close() entirely in tasks they control. No separate victim must mount a filesystem or open a file.\nS:U - The defect is a host-kernel heap UAF of event->addr_filter_ranges in kernel/events/core.c. Impact stays inside the kernel's own security authority and is not a KVM/Xen guest-to-host escape or IOMMU/DMA bypass.\nC:H - __free_event() kfree's the kcalloc'd addr_filter_ranges array while RCU walkers still hold the event. Reclaiming that heap object, combined with pt_event_addr_filters_sync()/etm_addr_filters_sync() reading fr[range].start/size, yields a kernel read primitive.\nI:H - __perf_addr_filters_adjust() and perf_event_addr_filters_exec() write attacker-influenced vma start/size into the already-freed addr_filter_ranges slots. That heap UAF write is sprayable into a control-flow hijack / arbitrary write.\nA:H - Use-after-free of addr_filter_ranges while perf_iterate_ctx() still observes the event on ctx->event_list causes a kernel oops or panic when the freed slots are indexed or the reallocated object is corrupted."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/events/core.c"
                    ],
                    "versions": [
                        {
                            "version": "375637bc524952f1122ea22caf5a8f1fecad8228",
                            "lessThan": "1d8e1e99b063de4179cc8af14d08115d74a37abf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "375637bc524952f1122ea22caf5a8f1fecad8228",
                            "lessThan": "cd8dab11046c03ab07899ce3fe2aa7d1a9702cf1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "375637bc524952f1122ea22caf5a8f1fecad8228",
                            "lessThan": "6f1853b2b9f38f1343790bae8c0601b3f7554754",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "375637bc524952f1122ea22caf5a8f1fecad8228",
                            "lessThan": "e62d4192e593630f355094adc467058a05bdc935",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/events/core.c"
                    ],
                    "versions": [
                        {
                            "version": "4.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.160",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.111",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.53",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "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": "4.7",
                                    "versionEndExcluding": "6.6.160"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "6.12.111"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "6.18.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.7",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/1d8e1e99b063de4179cc8af14d08115d74a37abf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cd8dab11046c03ab07899ce3fe2aa7d1a9702cf1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6f1853b2b9f38f1343790bae8c0601b3f7554754"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e62d4192e593630f355094adc467058a05bdc935"
                }
            ],
            "title": "perf: Fix addr_filter_ranges lifetime",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}