{"id":"CVE-2026-139137","aliases":["CVE-2026-139137"],"related":[],"kind":"vulnerability","state":"published","title":"ice: set in_use only after preparing Tx timestamp index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:31:55.449Z","modified":"2026-11-30T14:18:30.783Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","fixed":"b4a20a74e94034ae598ddee6652fbd8cc9250bf9","status":"affected"},{"type":"git","introduced":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","fixed":"11d54e081223bc1035a47d0a306d7468f7a57d69","status":"affected"},{"type":"git","introduced":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","fixed":"b19ee0a8f588d010e22942bfb5f06b0377973370","status":"affected"},{"type":"git","introduced":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","fixed":"9690bb030143b6eb56b2e9abd28280fe229ae42f","status":"affected"},{"type":"git","introduced":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","fixed":"bac741bac969635a57ed4a4ee5281adad0567240","status":"affected"},{"type":"git","introduced":"ea9b847cda647b9849b0b9fa0447e876a1ac62e1","fixed":"50870d62116038e6f1e17a6aedcf2a95cec37ec7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b4a20a74e94034ae598ddee6652fbd8cc9250bf9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11d54e081223bc1035a47d0a306d7468f7a57d69","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b19ee0a8f588d010e22942bfb5f06b0377973370","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9690bb030143b6eb56b2e9abd28280fe229ae42f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bac741bac969635a57ed4a4ee5281adad0567240","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50870d62116038e6f1e17a6aedcf2a95cec37ec7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139137","url":"https://www.cve.org/CVERecord?id=CVE-2026-139137","licence":"CVE Terms of Use","modified":"2026-11-30T13:31:55.449Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139137","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139137","licence":"Public domain","modified":"2026-11-30T14:18:30.783Z"}],"updatedAt":"2026-11-30T14:32:59.842Z","epss":{"score":0.00173,"percentile":0.0704,"date":"2026-12-01T12:00:22.000Z"}}