{"api_version":"1","generated_at":"2026-12-01T14:01:15+00:00","cve":"CVE-2026-139137","urls":{"html":"https://cve.report/CVE-2026-139137","api":"https://cve.report/api/cve/CVE-2026-139137.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139137","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139137"},"summary":{"title":"ice: set in_use only after preparing Tx timestamp index","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: set in_use only after preparing Tx timestamp index\n\nThe ice_ptp_request_ts() function is used to request a timestamp index for\nuse with a packet. When reserving an index, it sets the start time and\nsaves a pointer to the skb into the appropriate index. The function marks\nthe in_use bit first before doing any of these steps. The IRQ handler which\nclears the timestamps reads the in_use bits uses a lockless flow for\nreading the in_use bits to determine which ones are in-use. This is\nnecessary as actually processing a complete timestamp must be able to sleep\nso we cannot hold the timestamp tracker lock over the entire sequence.\nAdditionally, blocking the Tx hotpath with such a lock indefinitely would\nbe problematic.\n\nHowever, the existing flow now has a very narrow window where the IRQ\nhandler could see a timestamp as in-use but read a stale value for its\n\"start\" time.\n\nFix this by ordering the sequence to mark the in_use bit last, and add a\nmemory barrier to prevent re-ordering of the previous writes to setup the\nindex.\n\nThis was found and reported by Sashiko while reviewing an unrelated change.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:30","updated_at":"2026-11-30 14:18:30"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/bac741bac969635a57ed4a4ee5281adad0567240","name":"https://git.kernel.org/stable/c/bac741bac969635a57ed4a4ee5281adad0567240","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b19ee0a8f588d010e22942bfb5f06b0377973370","name":"https://git.kernel.org/stable/c/b19ee0a8f588d010e22942bfb5f06b0377973370","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/11d54e081223bc1035a47d0a306d7468f7a57d69","name":"https://git.kernel.org/stable/c/11d54e081223bc1035a47d0a306d7468f7a57d69","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/50870d62116038e6f1e17a6aedcf2a95cec37ec7","name":"https://git.kernel.org/stable/c/50870d62116038e6f1e17a6aedcf2a95cec37ec7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9690bb030143b6eb56b2e9abd28280fe229ae42f","name":"https://git.kernel.org/stable/c/9690bb030143b6eb56b2e9abd28280fe229ae42f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b4a20a74e94034ae598ddee6652fbd8cc9250bf9","name":"https://git.kernel.org/stable/c/b4a20a74e94034ae598ddee6652fbd8cc9250bf9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139137","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139137","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea9b847cda647b9849b0b9fa0447e876a1ac62e1 b4a20a74e94034ae598ddee6652fbd8cc9250bf9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea9b847cda647b9849b0b9fa0447e876a1ac62e1 11d54e081223bc1035a47d0a306d7468f7a57d69 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea9b847cda647b9849b0b9fa0447e876a1ac62e1 b19ee0a8f588d010e22942bfb5f06b0377973370 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea9b847cda647b9849b0b9fa0447e876a1ac62e1 9690bb030143b6eb56b2e9abd28280fe229ae42f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea9b847cda647b9849b0b9fa0447e876a1ac62e1 bac741bac969635a57ed4a4ee5281adad0567240 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea9b847cda647b9849b0b9fa0447e876a1ac62e1 50870d62116038e6f1e17a6aedcf2a95cec37ec7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/intel/ice/ice_ptp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b4a20a74e94034ae598ddee6652fbd8cc9250bf9","status":"affected","version":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","versionType":"git"},{"lessThan":"11d54e081223bc1035a47d0a306d7468f7a57d69","status":"affected","version":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","versionType":"git"},{"lessThan":"b19ee0a8f588d010e22942bfb5f06b0377973370","status":"affected","version":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","versionType":"git"},{"lessThan":"9690bb030143b6eb56b2e9abd28280fe229ae42f","status":"affected","version":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","versionType":"git"},{"lessThan":"bac741bac969635a57ed4a4ee5281adad0567240","status":"affected","version":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","versionType":"git"},{"lessThan":"50870d62116038e6f1e17a6aedcf2a95cec37ec7","status":"affected","version":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/intel/ice/ice_ptp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.14"},{"lessThan":"5.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: set in_use only after preparing Tx timestamp index\n\nThe ice_ptp_request_ts() function is used to request a timestamp index for\nuse with a packet. When reserving an index, it sets the start time and\nsaves a pointer to the skb into the appropriate index. The function marks\nthe in_use bit first before doing any of these steps. The IRQ handler which\nclears the timestamps reads the in_use bits uses a lockless flow for\nreading the in_use bits to determine which ones are in-use. This is\nnecessary as actually processing a complete timestamp must be able to sleep\nso we cannot hold the timestamp tracker lock over the entire sequence.\nAdditionally, blocking the Tx hotpath with such a lock indefinitely would\nbe problematic.\n\nHowever, the existing flow now has a very narrow window where the IRQ\nhandler could see a timestamp as in-use but read a stale value for its\n\"start\" time.\n\nFix this by ordering the sequence to mark the in_use bit last, and add a\nmemory barrier to prevent re-ordering of the previous writes to setup the\nindex.\n\nThis was found and reported by Sashiko while reviewing an unrelated change."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:31:55.449Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b4a20a74e94034ae598ddee6652fbd8cc9250bf9"},{"url":"https://git.kernel.org/stable/c/11d54e081223bc1035a47d0a306d7468f7a57d69"},{"url":"https://git.kernel.org/stable/c/b19ee0a8f588d010e22942bfb5f06b0377973370"},{"url":"https://git.kernel.org/stable/c/9690bb030143b6eb56b2e9abd28280fe229ae42f"},{"url":"https://git.kernel.org/stable/c/bac741bac969635a57ed4a4ee5281adad0567240"},{"url":"https://git.kernel.org/stable/c/50870d62116038e6f1e17a6aedcf2a95cec37ec7"}],"title":"ice: set in_use only after preparing Tx timestamp index","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139137","datePublished":"2026-11-30T13:31:55.449Z","dateReserved":"2026-11-30T13:22:15.916Z","dateUpdated":"2026-11-30T13:31:55.449Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:30","lastModifiedDate":"2026-11-30 14:18:30","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139137","Ordinal":"1","Title":"ice: set in_use only after preparing Tx timestamp index","CVE":"CVE-2026-139137","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139137","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: set in_use only after preparing Tx timestamp index\n\nThe ice_ptp_request_ts() function is used to request a timestamp index for\nuse with a packet. When reserving an index, it sets the start time and\nsaves a pointer to the skb into the appropriate index. The function marks\nthe in_use bit first before doing any of these steps. The IRQ handler which\nclears the timestamps reads the in_use bits uses a lockless flow for\nreading the in_use bits to determine which ones are in-use. This is\nnecessary as actually processing a complete timestamp must be able to sleep\nso we cannot hold the timestamp tracker lock over the entire sequence.\nAdditionally, blocking the Tx hotpath with such a lock indefinitely would\nbe problematic.\n\nHowever, the existing flow now has a very narrow window where the IRQ\nhandler could see a timestamp as in-use but read a stale value for its\n\"start\" time.\n\nFix this by ordering the sequence to mark the in_use bit last, and add a\nmemory barrier to prevent re-ordering of the previous writes to setup the\nindex.\n\nThis was found and reported by Sashiko while reviewing an unrelated change.","Type":"Description","Title":"ice: set in_use only after preparing Tx timestamp index"}]}}}