CVE-2026-93146
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: time/namespace: Validate nanosecond field in proc_timens_set_offset() The function validates tv_sec to be within [-KTIME_SEC_MAX, KTIME_SEC_MAX] but never validates that tv_nsec is within the valid range of [0, NSEC_PER_SEC-1] before using it in timespec64_add(). timespec64_add() expects both timespec64 structures to have normalized values with tv_nsec in the range [0, 999999999]. If off->val.tv_nsec contains invalid values (negative or >= NSEC_PER_SEC), it could lead to incorrect calculations or unexpected behavior. Add validation to ensure tv_nsec is within the valid range before performing the addition.
View original CVE JSON
{
"id": "CVE-2026-93146",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-17T17:18:09.757",
"lastModified": "2026-10-30T13:20:58.310",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntime/namespace: Validate nanosecond field in proc_timens_set_offset()\n\nThe function validates tv_sec to be within [-KTIME_SEC_MAX, KTIME_SEC_MAX]\nbut never validates that tv_nsec is within the valid range of\n[0, NSEC_PER_SEC-1] before using it in timespec64_add().\n\ntimespec64_add() expects both timespec64 structures to have normalized\nvalues with tv_nsec in the range [0, 999999999]. If off->val.tv_nsec\ncontains invalid values (negative or >= NSEC_PER_SEC), it could lead to\nincorrect calculations or unexpected behavior.\n\nAdd validation to ensure tv_nsec is within the valid range before\nperforming the addition."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"kernel/time/namespace.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "04a8682a71becdb639ec9c0d82b315a2baef7a5d",
"lessThan": "ce0dd307dfa3193fbf06371b7c819a6bff7d3d68",
"versionType": "git",
"status": "affected"
},
{
"version": "04a8682a71becdb639ec9c0d82b315a2baef7a5d",
"lessThan": "5b8a40de738b7c4896c2edbc6262bd1b3462ded0",
"versionType": "git",
"status": "affected"
},
{
"version": "04a8682a71becdb639ec9c0d82b315a2baef7a5d",
"lessThan": "b20d7085ab314672447322c10cc5d1ba443e3b8e",
"versionType": "git",
"status": "affected"
},
{
"version": "04a8682a71becdb639ec9c0d82b315a2baef7a5d",
"lessThan": "db667d2970c756cc7b483f45f272440f845a665b",
"versionType": "git",
"status": "affected"
},
{
"version": "04a8682a71becdb639ec9c0d82b315a2baef7a5d",
"lessThan": "1f0c3c0c36c7aedf55a60d9c71c4bd258b8937ce",
"versionType": "git",
"status": "affected"
},
{
"version": "04a8682a71becdb639ec9c0d82b315a2baef7a5d",
"lessThan": "06aba58e58492d2b8eae059274caed29025ea96e",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"kernel/time/namespace.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.6",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.6",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.114",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.52",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.6",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/06aba58e58492d2b8eae059274caed29025ea96e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/1f0c3c0c36c7aedf55a60d9c71c4bd258b8937ce",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/5b8a40de738b7c4896c2edbc6262bd1b3462ded0",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/b20d7085ab314672447322c10cc5d1ba443e3b8e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ce0dd307dfa3193fbf06371b7c819a6bff7d3d68",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/db667d2970c756cc7b483f45f272440f845a665b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}