CVE-2021-47505
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47505 is a use-after-free vulnerability in the Linux kernel's asynchronous I/O (AIO) subsystem, specifically related to missing POLLFREE handling in signalfd_poll() and binder_poll() functions. The vulnerability affects Linux kernel versions from 4.18 up to versions before 4.19.221, 5.4.165, 5.10.85, 5.15.8, and 5.16-rc4 (Kernel Git).

Technical details

The vulnerability occurs because signalfd_poll() and binder_poll() use a waitqueue whose lifetime is tied to the current task rather than the struct file. While this works for blocking polls within one task, it creates issues with non-blocking polls. The proper solution requires clearing the queue before freeing it by sending a POLLFREE notification to all waiters. However, only eventpoll handled POLLFREE, while aio poll (added in kernel v4.18) did not, leading to a potential use-after-free condition when a signalfd or binder fd is polled with aio poll and the waitqueue gets freed (Kernel Git). The vulnerability has been assigned a CVSS v3.1 score with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an attacker with local access to cause a use-after-free condition, potentially leading to privilege escalation, information disclosure, or system crashes. The high CVSS scores for confidentiality, integrity, and availability (C:H/I:H/A:H) indicate severe potential impacts across all three security aspects (NVD).

Exploitability

The vulnerability requires local access (AV:L) with low attack complexity (AC:L) and low privileges (PR:L), and no user interaction (UI:N) is needed. The scope is unchanged (S:U), meaning the impact is limited to the vulnerable component (NVD).

Mitigation and workarounds

The vulnerability has been fixed by making aio poll handle POLLFREE in a deadlock-free way, taking advantage of RCU-delayed freeing of the waitqueue. The fix was implemented through a patch that properly handles POLLFREE notifications and prevents the use-after-free condition (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68422NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68399NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68398NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68376NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68374NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management