Skip to content
Heist/ feed
Back to feed
UnratedFix available

time/namespace: Validate nanosecond field in proc_timens_set_offset()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.191, 6.12.114, 6.18.52, 6.6.160, 7.2.6
CVEs
CVE-2026-93146
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 03:53 UTC · Revision 1

Source evidence

time/namespace: Validate nanosecond field in proc_timens_set_offset()

core-osv · Original source

Published 17 Sept 2026, 16:11 UTC

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.

osv:CVE-2026-93146

Kernel

Fixed versions: 6.1.191, 6.6.160, 6.12.114, 6.18.52, 7.2.6

Complete source record
{
  "id": "3233219766a497a12f99aa296ab389aee0e61c3d267f8cbc9b29ef5a1d02afbd",
  "url": "https://osv.dev/vulnerability/CVE-2026-93146",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "time/namespace: Validate nanosecond field in proc_timens_set_offset()",
    "summary": "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.",
    "evidence": "osv:CVE-2026-93146",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-93146",
      "aliases": [
        "CVE-2026-93146"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "04a8682a71becdb639ec9c0d82b315a2baef7a5d"
                },
                {
                  "fixed": "ce0dd307dfa3193fbf06371b7c819a6bff7d3d68"
                },
                {
                  "fixed": "5b8a40de738b7c4896c2edbc6262bd1b3462ded0"
                },
                {
                  "fixed": "b20d7085ab314672447322c10cc5d1ba443e3b8e"
                },
                {
                  "fixed": "db667d2970c756cc7b483f45f272440f845a665b"
                },
                {
                  "fixed": "1f0c3c0c36c7aedf55a60d9c71c4bd258b8937ce"
                },
                {
                  "fixed": "06aba58e58492d2b8eae059274caed29025ea96e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93146.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.6.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93146.json"
          }
        }
      ],
      "modified": "2026-11-01T02:31:00.433361711Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/06aba58e58492d2b8eae059274caed29025ea96e",
        "https://git.kernel.org/stable/c/1f0c3c0c36c7aedf55a60d9c71c4bd258b8937ce",
        "https://git.kernel.org/stable/c/5b8a40de738b7c4896c2edbc6262bd1b3462ded0",
        "https://git.kernel.org/stable/c/b20d7085ab314672447322c10cc5d1ba443e3b8e",
        "https://git.kernel.org/stable/c/ce0dd307dfa3193fbf06371b7c819a6bff7d3d68",
        "https://git.kernel.org/stable/c/db667d2970c756cc7b483f45f272440f845a665b",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93146.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93146",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93146.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93146",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 500165,
  "published_at": "2026-09-17T16:11:44.117+00:00"
}