Impact
A NULL pointer dereference was introduced in the Linux AppArmor 5.0.0 kernel module when handling file descriptors sent via SCM_RIGHTS. When the socket or its sock structure is NULL during socket setup or teardown, the __unix_needs_revalidation function dereferences sock->sk->sk_family without checking for NULL, resulting in a kernel BUG and crash. This manifests as a kernel panic and loss of service for the affected host.
Affected Systems
Linux kernel versions 6.17 and later that include AppArmor 5.0.0 are affected. The vulnerability is tied to the AppArmor module; other kernel versions or AppArmor versions prior to 5.0.0 are not impacted.
Risk and Exploitability
The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attack appears to be local, requiring the abuse of file descriptor passing via SCM_RIGHTS. Though severity is high due to native kernel crash, no verified exploitation streams are known at this time.
OpenCVE Enrichment