{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31538","published":"2026-04-24T15:16:27.740000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.18","version_end_excluding":"6.18.11"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"6.19.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-31538/","html_en":"/en/cve/CVE-2026-31538/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31538","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31538"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: server: make use of 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.\n\nThis fixes regression Namjae reported with\nthe 6.18 release.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/26ad87a2cfb8c1384620d1693a166ed87303046e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/66c082e3d4651e8629a393a9e182b01eb50fb0a3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/809cbd31aa4f87a1b889532244c9cf30eb022385","tags":["Patch"]}]}}