A vulnerability in the Linux kernel's AppArmor module could cause a NULL pointer dereference during socket setup or teardown, potentially leading to… (CVE-2026-45848)
A vulnerability in the Linux kernel's AppArmor module could cause a NULL pointer dereference during socket setup or teardown, potentially leading to a kernel oops (crash). This issue arises because the code did not properly handle cases where socket pointers (sock and sock-sk) might be NULL, especially affecting older mediation paths for af_unix sockets. The flaw has been addressed in newer kernel versions.
AI Analysis
Technical Summary
The Linux kernel's AppArmor security module had a vulnerability where NULL pointers for socket structures (sock and sock-sk) were not properly checked during socket setup or teardown operations. This could cause a kernel oops due to NULL pointer dereference, particularly in the fallback mediation path for older af_unix sockets. The issue was identified and fixed by adding proper NULL checks to prevent dereferencing invalid pointers, improving stability and security of socket handling in the kernel.
Potential Impact
This vulnerability can cause a denial of service by crashing the kernel (kernel oops) due to NULL pointer dereference. There is no indication of confidentiality or integrity impact. The attack complexity is low, requiring local privileges, but no user interaction is needed. No known exploits are reported in the wild.
Mitigation Recommendations
A fix is available in updated Linux kernel versions that address the NULL pointer dereference in the AppArmor module. Users should apply the official kernel updates that include this patch. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; users should consult the vendor or Linux kernel advisories for the exact fixed versions and update accordingly.
A vulnerability in the Linux kernel's AppArmor module could cause a NULL pointer dereference during socket setup or teardown, potentially leading to… (CVE-2026-45848)
Description
A vulnerability in the Linux kernel's AppArmor module could cause a NULL pointer dereference during socket setup or teardown, potentially leading to a kernel oops (crash). This issue arises because the code did not properly handle cases where socket pointers (sock and sock-sk) might be NULL, especially affecting older mediation paths for af_unix sockets. The flaw has been addressed in newer kernel versions.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's AppArmor security module had a vulnerability where NULL pointers for socket structures (sock and sock-sk) were not properly checked during socket setup or teardown operations. This could cause a kernel oops due to NULL pointer dereference, particularly in the fallback mediation path for older af_unix sockets. The issue was identified and fixed by adding proper NULL checks to prevent dereferencing invalid pointers, improving stability and security of socket handling in the kernel.
Potential Impact
This vulnerability can cause a denial of service by crashing the kernel (kernel oops) due to NULL pointer dereference. There is no indication of confidentiality or integrity impact. The attack complexity is low, requiring local privileges, but no user interaction is needed. No known exploits are reported in the wild.
Mitigation Recommendations
A fix is available in updated Linux kernel versions that address the NULL pointer dereference in the AppArmor module. Users should apply the official kernel updates that include this patch. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; users should consult the vendor or Linux kernel advisories for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8jqg-g4wj-938g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-45848"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a3ef7f227e9c79719036e52
Added to database: 06/26/2026, 22:06:42 UTC
Last enriched: 06/26/2026, 22:52:15 UTC
Last updated: 07/31/2026, 19:24:46 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.