In the Linux kernel, the following vulnerability has been resolved: seccomp: restore knotif->state when SECCOMP_ADDFD_FLAG_SEND is interrupted In seccomp_notify_addfd(), when SECCOMP_ADDFD_FLAG_SEND is set in addfd.
Overview
In the Linux kernel, the following vulnerability has been resolved: seccomp: restore knotif->state when SECCOMP_ADDFD_FLAG_SEND is interrupted In seccomp_notify_addfd(), when SECCOMP_ADDFD_FLAG_SEND is set in addfd.flags, knotif->state is optimistically transitioned from SECCOMP_NOTIFY_SENT to SECCOMP_NOTIFY_REPLIED before waking the tracee and waiting on kaddfd.completion: if (addfd.flags & SECCOMP_ADDFD_FLAG_SEND) { knotif->state = SECCOMP_NOTIFY_REPLIED; ... } If wait_for_completion_interruptible(&kaddfd.completion) is interrupted by a signal before the tracee dequeues the kaddfd request (!list_empty(&kaddfd.list)), seccomp_notify_addfd() removes kaddfd from knotif->addfd and returns -EINTR to the supervisor without having installed the file descriptor. However, knotif->state is left as SECCOMP_NOTIFY_REPLIED (with knotif->error == 0 and knotif->val == 0). This causes two problems: 1. When the tracee runs in do_user_notif(), it checks if (knotif.state != SECCOMP_NOTIFY_REPLIED) after calling seccomp_handle_addfd(). Because knotif->state is already SECCOMP_NOTIFY_REPLIED, the tracee exits the notification wait loop prematurely and returns 0 from the trapped syscall without the file descriptor ever having been installed. 2. If the supervisor retries SECCOMP_IOCTL_NOTIF_ADDFD or SECCOMP_IOCTL_NOTIF_SEND before the tracee runs, it fails with -EINPROGRESS because knotif->state is no longer SECCOMP_NOTIFY_SENT. Fix this by restoring knotif->state back to SECCOMP_NOTIFY_SENT if SECCOMP_ADDFD_FLAG_SEND was set and kaddfd was not consumed before the interrupted wait. Also add a seccomp_bpf selftest (user_notification_addfd_send_interrupted) covering this race. Tested in QEMU against Linux 7.3.0-rc3 using the user_notification_addfd_send_interrupted selftest added in this patch (./seccomp_bpf -t user_notification_addfd_send_interrupted): on the unfixed kernel the test fails because the retry ioctl(listener, SECCOMP_IOCTL_NOTIF_ADDFD, &addfd) returns -EINPROGRESS (-1) and the tracee prematurely exits do_user_notif() with return value 0 instead of FD 42, whereas with this patch applied the test passes.
- Published
- 11/30/2026
- Last modified
- 11/30/2026
- CVE assigner
- Linux
- NVD analysis
- Received
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 0ae71c7720e3ae3aabd2e8a072d27f7bd173d25c, < fdab56398223c6084ca5a8dd1d5e5ed3262ce44f | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 0ae71c7720e3ae3aabd2e8a072d27f7bd173d25c, < 386bab3924f755841d22a3004aa666015a28f9fc | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 0ae71c7720e3ae3aabd2e8a072d27f7bd173d25c, < 86ad71967cca94b6972fc3ef099d494ebff6c290 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 0ae71c7720e3ae3aabd2e8a072d27f7bd173d25c, < 2849bbaafd4f485aee87109d4225eb222eee5418 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 0ae71c7720e3ae3aabd2e8a072d27f7bd173d25c, < 872bd917485f9332469a793a10c164a450813d6a | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 0ae71c7720e3ae3aabd2e8a072d27f7bd173d25c, < 71a0eaa2ac84e20a9bf0fd40edd1eddd36181e6a | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 0ae71c7720e3ae3aabd2e8a072d27f7bd173d25c, < 832b9b176be06a20747a267db6bc0010a24b74f4 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | 31a5fc473d74d943438a03f83f519aac8d65ebe3 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 5.13.2, < 5.14 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | 5.14 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.