CVE-2026-45848: apparmor: fix NULL sock in aa_sock_file_perm

Published May 27, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix NULL sock in aasockfileperm

Deal with the potential that sock and sock-sk can be NULL during socket setup or teardown. This could lead to an oops. The fix for NULL pointer dereference in unixneedsrevalidation shows this is at least possible for afunix sockets. While the fix for afunix sockets applies for newer mediation this is still the fall back path for older afunix mediation and other sockets, so ensure it is covered.

Affected Software

8 affected components
The Linux Foundation Linux kernel (AppArmor)
Linux Linux kernel>=4.17<5.10.252
Linux Linux kernel>=5.11<5.15.202
Linux Linux kernel>=5.16<6.1.165
Linux Linux kernel>=6.2<6.6.128
Linux Linux kernel>=6.7<6.12.75
Linux Linux kernel>=6.13<6.18.14
Linux Linux kernel>=6.19<6.19.4

Event History

May 27, 2026
CVE Published
via MITRE·12:15 PM
Data Sourced
via MITRE·12:15 PM
Description
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45848?

The severity of CVE-2026-45848 is rated as medium with a score of 5.5 on the CVSS scale.

2

How do I fix CVE-2026-45848?

To fix CVE-2026-45848, you should apply the latest patch provided in the Linux kernel updates that address the specific NULL pointer dereference.

3

What systems are affected by CVE-2026-45848?

CVE-2026-45848 affects systems running the Linux kernel, specifically those utilizing AppArmor.

4

What types of vulnerabilities are related to CVE-2026-45848?

CVE-2026-45848 is related to null pointer dereference vulnerabilities that can lead to potential crashes or oops during socket operations.

5

When was CVE-2026-45848 published?

CVE-2026-45848 was published on May 27, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203