# CVE-2023-53099: firmware: xilinx: don't make a sleepable memory allocation from an atomic context

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2025-05-02T15:55:42.391Z
- **Modified:** 2026-06-17T06:44:17.657Z

## Who should check

- Anyone running Linux \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< b37d3ccbd549494890672136a0e623eb010d46a7; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 86afb633beaa02ee95b5126a14c9f22cfade4fd9; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 162049c31eb64308afa22e341a257a723526eb5c; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 9bbab2843f2d1337a268499a1c02b435d2985a17; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 38ed310c22e7a0fc978b1f8292136a4a4a8b3051; a38a99930883fb1e24f2a34b78a05a6598e86150; \>= 5.9.12, \< 5.10
- Anyone running Linux 5.10

## Description

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

firmware: xilinx: don't make a sleepable memory allocation from an atomic context

The following issue was discovered using lockdep:
\[    6.691371\] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209
\[    6.694602\] in\_atomic(): 1, irqs\_disabled(): 128, non\_block: 0, pid: 1, name: swapper/0
\[    6.702431\] 2 locks held by swapper/0/1:
\[    6.706300\]  \#0: ffffff8800f6f188 (&dev-\>mutex){....}-{3:3}, at: \_\_device\_driver\_lock+0x4c/0x90
\[    6.714900\]  \#1: ffffffc009a2abb8 (enable\_lock){....}-{2:2}, at: clk\_enable\_lock+0x4c/0x140
\[    6.723156\] irq event stamp: 304030
\[    6.726596\] hardirqs last  enabled at (304029): \[\<ffffffc008d17ee0\>\] \_raw\_spin\_unlock\_irqrestore+0xc0/0xd0
\[    6.736142\] hardirqs last disabled at (304030): \[\<ffffffc00876bc5c\>\] clk\_enable\_lock+0xfc/0x140
\[    6.744742\] softirqs last  enabled at (303958): \[\<ffffffc0080904f0\>\] \_stext+0x4f0/0x894
\[    6.752655\] softirqs last disabled at (303951): \[\<ffffffc0080e53b8\>\] irq\_exit+0x238/0x280
\[    6.760744\] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G     U            5.15.36 \#2
\[    6.768048\] Hardware name: xlnx,zynqmp (DT)
\[    6.772179\] Call trace:
\[    6.774584\]  dump\_backtrace+0x0/0x300
\[    6.778197\]  show\_stack+0x18/0x30
\[    6.781465\]  dump\_stack\_lvl+0xb8/0xec
\[    6.785077\]  dump\_stack+0x1c/0x38
\[    6.788345\]  \_\_\_might\_sleep+0x1a8/0x2a0
\[    6.792129\]  \_\_might\_sleep+0x6c/0xd0
\[    6.795655\]  kmem\_cache\_alloc\_trace+0x270/0x3d0
\[    6.800127\]  do\_feature\_check\_call+0x100/0x220
\[    6.804513\]  zynqmp\_pm\_invoke\_fn+0x8c/0xb0
\[    6.808555\]  zynqmp\_pm\_clock\_getstate+0x90/0xe0
\[    6.813027\]  zynqmp\_pll\_is\_enabled+0x8c/0x120
\[    6.817327\]  zynqmp\_pll\_enable+0x38/0xc0
\[    6.821197\]  clk\_core\_enable+0x144/0x400
\[    6.825067\]  clk\_core\_enable+0xd4/0x400
\[    6.828851\]  clk\_core\_enable+0xd4/0x400
\[    6.832635\]  clk\_core\_enable+0xd4/0x400
\[    6.836419\]  clk\_core\_enable+0xd4/0x400
\[    6.840203\]  clk\_core\_enable+0xd4/0x400
\[    6.843987\]  clk\_core\_enable+0xd4/0x400
\[    6.847771\]  clk\_core\_enable+0xd4/0x400
\[    6.851555\]  clk\_core\_enable\_lock+0x24/0x50
\[    6.855683\]  clk\_enable+0x24/0x40
\[    6.858952\]  fclk\_probe+0x84/0xf0
\[    6.862220\]  platform\_probe+0x8c/0x110
\[    6.865918\]  really\_probe+0x110/0x5f0
\[    6.869530\]  \_\_driver\_probe\_device+0xcc/0x210
\[    6.873830\]  driver\_probe\_device+0x64/0x140
\[    6.877958\]  \_\_driver\_attach+0x114/0x1f0
\[    6.881828\]  bus\_for\_each\_dev+0xe8/0x160
\[    6.885698\]  driver\_attach+0x34/0x50
\[    6.889224\]  bus\_add\_driver+0x228/0x300
\[    6.893008\]  driver\_register+0xc0/0x1e0
\[    6.896792\]  \_\_platform\_driver\_register+0x44/0x60
\[    6.901436\]  fclk\_driver\_init+0x1c/0x28
\[    6.905220\]  do\_one\_initcall+0x104/0x590
\[    6.909091\]  kernel\_init\_freeable+0x254/0x2bc
\[    6.913390\]  kernel\_init+0x24/0x130
\[    6.916831\]  ret\_from\_fork+0x10/0x20

Fix it by passing the GFP\_ATOMIC gfp flag for the corresponding
memory allocation.

## Affected and fixed versions

- Linux: \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< b37d3ccbd549494890672136a0e623eb010d46a7; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 86afb633beaa02ee95b5126a14c9f22cfade4fd9; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 162049c31eb64308afa22e341a257a723526eb5c; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 9bbab2843f2d1337a268499a1c02b435d2985a17; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 38ed310c22e7a0fc978b1f8292136a4a4a8b3051; a38a99930883fb1e24f2a34b78a05a6598e86150; \>= 5.9.12, \< 5.10 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 5.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53099.md
Affected: Linux >= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, < b37d3ccbd549494890672136a0e623eb010d46a7; >= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, < 86afb633beaa02ee95b5126a14c9f22cfade4fd9; >= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, < 162049c31eb64308afa22e341a257a723526eb5c; >= acfdd18591eaac25446e976…
Fixed in: Linux 86afb633beaa02ee95b5126a14c9f22cfade4fd9, Linux 162049c31eb64308afa22e341a257a723526eb5c, Linux 9bbab2843f2d1337a268499a1c02b435d2985a17, Linux 38ed310c22e7a0fc978b1f8292136a4a4a8b3051, Linux 5.10

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.
```

## FAQ

### Is CVE-2023-53099 being exploited?

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

### How serious is CVE-2023-53099?

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

### Which versions are affected by CVE-2023-53099?

Linux \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< b37d3ccbd549494890672136a0e623eb010d46a7; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 86afb633beaa02ee95b5126a14c9f22cfade4fd9; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 162049c31eb64308afa22e341a257a723526eb5c; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 9bbab2843f2d1337a268499a1c02b435d2985a17; \>= acfdd18591eaac25446e976a0c0d190f8b3dbfb1, \< 38ed310c22e7a0fc978b1f8292136a4a4a8b3051; a38a99930883fb1e24f2a34b78a05a6598e86150; \>= 5.9.12, \< 5.10; Linux 5.10.

### Is there a fix for CVE-2023-53099?

Yes. Fixed in Linux 86afb633beaa02ee95b5126a14c9f22cfade4fd9, Linux 162049c31eb64308afa22e341a257a723526eb5c, Linux 9bbab2843f2d1337a268499a1c02b435d2985a17, Linux 38ed310c22e7a0fc978b1f8292136a4a4a8b3051, Linux 5.10. Upgrade Linux to 5.10 or later.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/b37d3ccbd549494890672136a0e623eb010d46a7>
- patch: <https://git.kernel.org/stable/c/86afb633beaa02ee95b5126a14c9f22cfade4fd9>
- patch: <https://git.kernel.org/stable/c/162049c31eb64308afa22e341a257a723526eb5c>
- patch: <https://git.kernel.org/stable/c/9bbab2843f2d1337a268499a1c02b435d2985a17>
- patch: <https://git.kernel.org/stable/c/38ed310c22e7a0fc978b1f8292136a4a4a8b3051>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53099>

HTML: <https://flawdb.com/CVE-2023-53099> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53099>
