Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52443

MEDIUM 5.5EPSS 18%

apparmor: avoid crash when parsed profile name is empty

Mitigation

  • Upgrade Linux to 55a8210c9e7d21ff2644809699765796d4bfb200 or later.

Who should check

  • Anyone running Linux >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9286ee97aa4803d99185768735011d0d65827c9e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5ff00408e5029d3550ee77f62dc15f1e15c47f87; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 0a12db736edbb4933e4274932aeea594b5876fa4; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9d4fa5fe2b1d56662afd14915a73b4d0783ffa45; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5c0392fdafb0a2321311900be83ffa572bef8203; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 77ab09b92f16c8439a948d1af489196953dc4a0e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 55a8210c9e7d21ff2644809699765796d4bfb200
  • Anyone running Linux 4.11

Vulnerability facts

Affected
Linux >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9286ee97aa4803d99185768735011d0d65827c9e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5ff00408e5029d3550ee77f62dc15f1e15c47f87; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 0a12db736edbb4933e4274932aeea594b5876fa4; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9d4fa5fe2b1d56662afd14915a73b4d0783ffa45; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5c0392fdafb0a2321311900be83ffa572bef8203; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 77ab09b92f16c8439a948d1af489196953dc4a0e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 55a8210c9e7d21ff2644809699765796d4bfb200; Linux 4.11
Fixed in
Linux 9286ee97aa4803d99185768735011d0d65827c9e, Linux 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf, Linux 5ff00408e5029d3550ee77f62dc15f1e15c47f87, Linux 0a12db736edbb4933e4274932aeea594b5876fa4, Linux 9d4fa5fe2b1d56662afd14915a73b4d0783ffa45, Linux 5c0392fdafb0a2321311900be83ffa572bef8203, Linux 77ab09b92f16c8439a948d1af489196953dc4a0e, Linux 55a8210c9e7d21ff2644809699765796d4bfb200
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: apparmor: avoid crash when parsed profile name is empty When processing a packed profile in unpack_profile() described like "profile :ns::samba-dcerpcd /usr/lib*/samba/{,samba/}samba-dcerpcd {...}" a string ":samba-dcerpcd" is unpacked as a fully-qualified name and then passed to aa_splitn_fqname(). aa_splitn_fqname() treats ":samba-dcerpcd" as only containing a namespace. Thus it returns NULL for tmpname, meanwhile tmpns is non-NULL. Later aa_alloc_profile() crashes as the new profile name is NULL now. general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 6 PID: 1657 Comm: apparmor_parser Not tainted 6.7.0-rc2-dirty #16 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-3-gd478f380-rebuilt.opensuse.org 04/01/2014 RIP: 0010:strlen+0x1e/0xa0 Call Trace: <TASK> ? strlen+0x1e/0xa0 aa_policy_init+0x1bb/0x230 aa_alloc_profile+0xb1/0x480 unpack_profile+0x3bc/0x4960 aa_unpack+0x309/0x15e0 aa_replace_profiles+0x213/0x33c0 policy_update+0x261/0x370 profile_replace+0x20e/0x2a0 vfs_write+0x2af/0xe00 ksys_write+0x126/0x250 do_syscall_64+0x46/0xf0 entry_SYSCALL_64_after_hwframe+0x6e/0x76 </TASK> ---[ end trace 0000000000000000 ]--- RIP: 0010:strlen+0x1e/0xa0 It seems such behaviour of aa_splitn_fqname() is expected and checked in other places where it is called (e.g. aa_remove_profiles). Well, there is an explicit comment "a ns name without a following profile is allowed" inside. AFAICS, nothing can prevent unpacked "name" to be in form like ":samba-dcerpcd" - it is passed from userspace. Deny the whole profile set replacement in such case and inform user with EPROTO and an explaining message. Found by Linux Verification Center (linuxtesting.org).

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9286ee97aa4803d99185768735011d0d65827c9e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5ff00408e5029d3550ee77f62dc15f1e15c47f87; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 0a12db736edbb4933e4274932aeea594b5876fa4; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9d4fa5fe2b1d56662afd14915a73b4d0783ffa45; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5c0392fdafb0a2321311900be83ffa572bef8203; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 77ab09b92f16c8439a948d1af489196953dc4a0e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 55a8210c9e7d21ff2644809699765796d4bfb200—cvelist
Linux4.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-52443. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52443.md
Affected: Linux >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9286ee97aa4803d99185768735011d0d65827c9e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5ff00408e5029d3550ee77f62dc15f1e15c47f87; >= 04dc715e24d0820bf8740e1…
Fixed in: Linux 9286ee97aa4803d99185768735011d0d65827c9e, Linux 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf, Linux 5ff00408e5029d3550ee77f62dc15f1e15c47f87, Linux 0a12db736edbb4933e4274932aeea594b5876fa4, Linux 9d4fa5fe2b1d56662afd14915a73b4d0783ffa45, Linux 5c0392fdafb0a2321311900be83ffa572bef8203, Linux 77ab0…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-52443 being exploited?

There is no confirmed exploitation: CVE-2023-52443 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-52443?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-52443?

Linux >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9286ee97aa4803d99185768735011d0d65827c9e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5ff00408e5029d3550ee77f62dc15f1e15c47f87; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 0a12db736edbb4933e4274932aeea594b5876fa4; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 9d4fa5fe2b1d56662afd14915a73b4d0783ffa45; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 5c0392fdafb0a2321311900be83ffa572bef8203; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 77ab09b92f16c8439a948d1af489196953dc4a0e; >= 04dc715e24d0820bf8740e1a1135ed61fe162bc8, < 55a8210c9e7d21ff2644809699765796d4bfb200; Linux 4.11.

Is there a fix for CVE-2023-52443?

Yes. Fixed in Linux 9286ee97aa4803d99185768735011d0d65827c9e, Linux 1d8e62b5569cc1466ceb8a7e4872cf10160a9dcf, Linux 5ff00408e5029d3550ee77f62dc15f1e15c47f87, Linux 0a12db736edbb4933e4274932aeea594b5876fa4, Linux 9d4fa5fe2b1d56662afd14915a73b4d0783ffa45, Linux 5c0392fdafb0a2321311900be83ffa572bef8203, Linux 77ab09b92f16c8439a948d1af489196953dc4a0e, Linux 55a8210c9e7d21ff2644809699765796d4bfb200. Upgrade Linux to 55a8210c9e7d21ff2644809699765796d4bfb200 or later.

How do I check if I'm affected by CVE-2023-52443?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors