{
  "id": "CVE-2026-74315",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74315",
  "published_at": "2026-08-15T05:58:13.504Z",
  "title": "lockd: Avoid hashing uninitialized bytes in nlm4svc_lookup_file()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nlockd: Avoid hashing uninitialized bytes in nlm4svc_lookup_file()\n\nfile_hash() digests the first LOCKD_FH_HASH_SIZE bytes of\nnfs_fh.data when bucketing nlm_files[], independent of fh.size.\nCommit 3de744ee4e45 (\"lockd: Use xdrgen XDR functions for the\nNLMv4 TEST procedure\") set .pc_argzero to zero for the converted\nprocedures and moved file-handle population into\nnlm4svc_lookup_file(), which copies only xdr_lock-\u003efh.len bytes\ninto lock-\u003efh.data.\n\nWhen an NLMv4 client presents a file handle shorter than\nLOCKD_FH_HASH_SIZE, bytes fh.len..31 retain whatever the argument\nbuffer held from an earlier request.  The same wire handle then\nhashes to different buckets across calls; nlm_lookup_file() misses\nthe existing nlm_file entry, and lock-state lookups fail.\n\nZero only the tail bytes that file_hash() would otherwise consume.\nHandles of LOCKD_FH_HASH_SIZE or larger already populate every byte\nthat file_hash() reads.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3de744ee4e4557da0d63be8a97ad44b4dad58912, \u003c 686c2434f9f16b87aeed18d76cc562df9f2695ab",
          "\u003e= 3de744ee4e4557da0d63be8a97ad44b4dad58912, \u003c 6e4c62caecf792e8a15ad9bc7f371e57c17e3302"
        ],
        "fixed_in": [
          "686c2434f9f16b87aeed18d76cc562df9f2695ab",
          "6e4c62caecf792e8a15ad9bc7f371e57c17e3302"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "7.1"
        ],
        "fixed_in": [
          "0",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 686c2434f9f16b87aeed18d76cc562df9f2695ab or 6e4c62caecf792e8a15ad9bc7f371e57c17e3302 or later.",
      "Upgrade Linux to 0 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
