# CVE-2023-53728: posix-timers: Ensure timer ID search-loop limit is valid

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-10-22T13:23:57.127Z
- **Modified:** 2026-06-17T06:45:57.820Z

## Who should check

- Anyone running Linux \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8dc52c200b889bc1cb34288fbf623d4ff381d2ae; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 9ea26a8494a0a9337e7415eafd6f3ed940327dc5; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8ad6679a5bb97cdb3e14942729292b4bfcc0e223; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 322377cc909defcca9451487484845e7e1d20d1b; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< ef535e0315afd098c4beb1da364847eca4b56a20; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 6a0ac84501b4fec73a1a823c55cf13584c43f418; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8ce8849dd1e78dadcee0ec9acbd259d239b7069f
- Anyone running Linux 3.10

## Description

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

posix-timers: Ensure timer ID search-loop limit is valid

posix\_timer\_add() tries to allocate a posix timer ID by starting from the
cached ID which was stored by the last successful allocation.

This is done in a loop searching the ID space for a free slot one by
one. The loop has to terminate when the search wrapped around to the
starting point.

But that's racy vs. establishing the starting point. That is read out
lockless, which leads to the following problem:

CPU0	  	      	     	   CPU1
posix\_timer\_add()
  start = sig-\>posix\_timer\_id;
  lock(hash\_lock);
  ...				   posix\_timer\_add()
  if (++sig-\>posix\_timer\_id \< 0)
      			             start = sig-\>posix\_timer\_id;
     sig-\>posix\_timer\_id = 0;

So CPU1 can observe a negative start value, i.e. -1, and the loop break
never happens because the condition can never be true:

  if (sig-\>posix\_timer\_id == start)
     break;

While this is unlikely to ever turn into an endless loop as the ID space is
huge (INT\_MAX), the racy read of the start value caught the attention of
KCSAN and Dmitry unearthed that incorrectness.

Rewrite it so that all id operations are under the hash lock.

## Affected and fixed versions

- Linux: \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8dc52c200b889bc1cb34288fbf623d4ff381d2ae; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 9ea26a8494a0a9337e7415eafd6f3ed940327dc5; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8ad6679a5bb97cdb3e14942729292b4bfcc0e223; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 322377cc909defcca9451487484845e7e1d20d1b; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< ef535e0315afd098c4beb1da364847eca4b56a20; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 6a0ac84501b4fec73a1a823c55cf13584c43f418; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8ce8849dd1e78dadcee0ec9acbd259d239b7069f (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- Upgrade Linux to 8ce8849dd1e78dadcee0ec9acbd259d239b7069f 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-53728. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53728.md
Affected: Linux >= 5ed67f05f66c41e39880a6d61358438a25f9fee5, < 8dc52c200b889bc1cb34288fbf623d4ff381d2ae; >= 5ed67f05f66c41e39880a6d61358438a25f9fee5, < 9ea26a8494a0a9337e7415eafd6f3ed940327dc5; >= 5ed67f05f66c41e39880a6d61358438a25f9fee5, < 8ad6679a5bb97cdb3e14942729292b4bfcc0e223; >= 5ed67f05f66c41e39880a6d…
Fixed in: Linux 8dc52c200b889bc1cb34288fbf623d4ff381d2ae, Linux 9ea26a8494a0a9337e7415eafd6f3ed940327dc5, Linux 8ad6679a5bb97cdb3e14942729292b4bfcc0e223, Linux 322377cc909defcca9451487484845e7e1d20d1b, Linux 6a0ac84501b4fec73a1a823c55cf13584c43f418, Linux 37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937, Linux 8ce88…

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-53728 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8dc52c200b889bc1cb34288fbf623d4ff381d2ae; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 9ea26a8494a0a9337e7415eafd6f3ed940327dc5; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8ad6679a5bb97cdb3e14942729292b4bfcc0e223; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 322377cc909defcca9451487484845e7e1d20d1b; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< ef535e0315afd098c4beb1da364847eca4b56a20; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 6a0ac84501b4fec73a1a823c55cf13584c43f418; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937; \>= 5ed67f05f66c41e39880a6d61358438a25f9fee5, \< 8ce8849dd1e78dadcee0ec9acbd259d239b7069f; Linux 3.10.

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

Yes. Fixed in Linux 8dc52c200b889bc1cb34288fbf623d4ff381d2ae, Linux 9ea26a8494a0a9337e7415eafd6f3ed940327dc5, Linux 8ad6679a5bb97cdb3e14942729292b4bfcc0e223, Linux 322377cc909defcca9451487484845e7e1d20d1b, Linux 6a0ac84501b4fec73a1a823c55cf13584c43f418, Linux 37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937, Linux 8ce8849dd1e78dadcee0ec9acbd259d239b7069f. Upgrade Linux to 8ce8849dd1e78dadcee0ec9acbd259d239b7069f or later.

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

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

- other: <https://git.kernel.org/stable/c/8dc52c200b889bc1cb34288fbf623d4ff381d2ae>
- other: <https://git.kernel.org/stable/c/9ea26a8494a0a9337e7415eafd6f3ed940327dc5>
- other: <https://git.kernel.org/stable/c/8ad6679a5bb97cdb3e14942729292b4bfcc0e223>
- other: <https://git.kernel.org/stable/c/322377cc909defcca9451487484845e7e1d20d1b>
- other: <https://git.kernel.org/stable/c/ef535e0315afd098c4beb1da364847eca4b56a20>
- other: <https://git.kernel.org/stable/c/6a0ac84501b4fec73a1a823c55cf13584c43f418>
- other: <https://git.kernel.org/stable/c/37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937>
- other: <https://git.kernel.org/stable/c/8ce8849dd1e78dadcee0ec9acbd259d239b7069f>

## 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-53728>

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