{"id":"CVE-2026-31539","published":"2026-04-24T14:30:26Z","modified":"2026-10-19T18:55:58Z","title":"smb: smbdirect: introduce smbdirect_socket.recv_io.credits.available","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: smbdirect: introduce smbdirect_socket.recv_io.credits.available\n\nThe logic off managing recv credits by counting posted recv_io and\ngranted credits is racy.\n\nThat's because the peer might already consumed a credit,\nbut between receiving the incoming recv at the hardware\nand processing the completion in the 'recv_done' functions\nwe likely have a window where we grant credits, which\ndon't really exist.\n\nSo we better have a decicated counter for the\navailable credits, which will be incremented\nwhen we posted new recv buffers and drained when\nwe grant the credits to the peer.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00342,"percentile":0.28254,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://git.kernel.org/stable/c/e811e60e1cc79923c4388146eb1fa26a7482731e","tags":[]},{"url":"https://git.kernel.org/stable/c/f99996870222b598914a1f49d7375dc23752c237","tags":[]},{"url":"https://git.kernel.org/stable/c/6e3c5052f9686192e178806e017b7377155f4bab","tags":[]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":5.65},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5fb9b459b3686e366640edd4e62805ef7b4de927, < e811e60e1cc79923c4388146eb1fa26a7482731e",">= 5fb9b459b3686e366640edd4e62805ef7b4de927, < f99996870222b598914a1f49d7375dc23752c237",">= 5fb9b459b3686e366640edd4e62805ef7b4de927, < 6e3c5052f9686192e178806e017b7377155f4bab"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T15:10:46.426998Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25432","exploited":false,"provenance":"source"}}