CVE-2023-53728
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:
So CPU1 can observe a negative start value, i.e. -1, and the loop break never happens because the condition can never be true:
Leer descripción completaMostrar menos
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.
Detalles técnicos trazas, registros y código del informe original
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;
if (sig->posix_timer_id == start)
break;CVSS
NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.21%
- Percentil entre todas las CVEs puntuadas: 10
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Referencias
- https://git.kernel.org/stable/c/322377cc909defcca9451487484845e7e1d20d1b
- https://git.kernel.org/stable/c/37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937
- https://git.kernel.org/stable/c/6a0ac84501b4fec73a1a823c55cf13584c43f418
- https://git.kernel.org/stable/c/8ad6679a5bb97cdb3e14942729292b4bfcc0e223
- https://git.kernel.org/stable/c/8ce8849dd1e78dadcee0ec9acbd259d239b7069f
- https://git.kernel.org/stable/c/8dc52c200b889bc1cb34288fbf623d4ff381d2ae
- https://git.kernel.org/stable/c/9ea26a8494a0a9337e7415eafd6f3ed940327dc5
- https://git.kernel.org/stable/c/ef535e0315afd098c4beb1da364847eca4b56a20
JSON original (NVD)
Mostrar
{
"id": "CVE-2023-53728",
"cveTags": [],
"metrics": {},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "8dc52c200b889bc1cb34288fbf623d4ff381d2ae",
"versionType": "git"
},
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "9ea26a8494a0a9337e7415eafd6f3ed940327dc5",
"versionType": "git"
},
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "8ad6679a5bb97cdb3e14942729292b4bfcc0e223",
"versionType": "git"
},
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "322377cc909defcca9451487484845e7e1d20d1b",
"versionType": "git"
},
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "ef535e0315afd098c4beb1da364847eca4b56a20",
"versionType": "git"
},
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "6a0ac84501b4fec73a1a823c55cf13584c43f418",
"versionType": "git"
},
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937",
"versionType": "git"
},
{
"status": "affected",
"version": "5ed67f05f66c41e39880a6d61358438a25f9fee5",
"lessThan": "8ce8849dd1e78dadcee0ec9acbd259d239b7069f",
"versionType": "git"
}
],
"programFiles": [
"include/linux/sched/signal.h",
"kernel/time/posix-timers.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.10"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.10",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "4.14.322",
"versionType": "semver",
"lessThanOrEqual": "4.14.*"
},
{
"status": "unaffected",
"version": "4.19.291",
"versionType": "semver",
"lessThanOrEqual": "4.19.*"
},
{
"status": "unaffected",
"version": "5.4.251",
"versionType": "semver",
"lessThanOrEqual": "5.4.*"
},
{
"status": "unaffected",
"version": "5.10.188",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.150",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.107",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.4.7",
"versionType": "semver",
"lessThanOrEqual": "6.4.*"
},
{
"status": "unaffected",
"version": "6.5",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"include/linux/sched/signal.h",
"kernel/time/posix-timers.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2025-10-22T14:15:48.083",
"references": [
{
"url": "https://git.kernel.org/stable/c/322377cc909defcca9451487484845e7e1d20d1b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/37175e25edf7cc0d5a2cd2c2a1cbe2dcbf4a1937",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/6a0ac84501b4fec73a1a823c55cf13584c43f418",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8ad6679a5bb97cdb3e14942729292b4bfcc0e223",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8ce8849dd1e78dadcee0ec9acbd259d239b7069f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8dc52c200b889bc1cb34288fbf623d4ff381d2ae",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/9ea26a8494a0a9337e7415eafd6f3ed940327dc5",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ef535e0315afd098c4beb1da364847eca4b56a20",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Deferred",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nposix-timers: Ensure timer ID search-loop limit is valid\n\nposix_timer_add() tries to allocate a posix timer ID by starting from the\ncached ID which was stored by the last successful allocation.\n\nThis is done in a loop searching the ID space for a free slot one by\none. The loop has to terminate when the search wrapped around to the\nstarting point.\n\nBut that's racy vs. establishing the starting point. That is read out\nlockless, which leads to the following problem:\n\nCPU0\t \t \t \t CPU1\nposix_timer_add()\n start = sig->posix_timer_id;\n lock(hash_lock);\n ...\t\t\t\t posix_timer_add()\n if (++sig->posix_timer_id < 0)\n \t\t\t start = sig->posix_timer_id;\n sig->posix_timer_id = 0;\n\nSo CPU1 can observe a negative start value, i.e. -1, and the loop break\nnever happens because the condition can never be true:\n\n if (sig->posix_timer_id == start)\n break;\n\nWhile this is unlikely to ever turn into an endless loop as the ID space is\nhuge (INT_MAX), the racy read of the start value caught the attention of\nKCSAN and Dmitry unearthed that incorrectness.\n\nRewrite it so that all id operations are under the hash lock."
}
],
"lastModified": "2026-06-17T06:45:57.820",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}