{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31704","published":"2026-05-01T14:16:20.367000Z","last_modified":"2026-11-11T21:10:00.200000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.15","version_end_excluding":"6.6.136"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.84"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.25"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"7.0.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-31704/","html_en":"/en/cve/CVE-2026-31704/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31704","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31704"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: use check_add_overflow() to prevent u16 DACL size overflow\n\nset_posix_acl_entries_dacl() and set_ntacl_dacl() accumulate ACE sizes\nin u16 variables. When a file has many POSIX ACL entries, the\naccumulated size can wrap past 65535, causing the pointer arithmetic\n(char *)pndace + *size to land within already-written ACEs. Subsequent\nwrites then overwrite earlier entries, and pndacl->size gets a\ntruncated value.\n\nUse check_add_overflow() at each accumulation point to detect the\nwrap before it corrupts the buffer, consistent with existing\ncheck_mul_overflow() usage elsewhere in smbacl.c.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/299f962c0b02d048fb45d248b4da493d03f3175d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/41e53a773db6342ac9a689ee5ba635c31744c9f0","tags":[]},{"url":"https://git.kernel.org/stable/c/5e7b8f3c539d69b2ed5f2408e2f75e68ce7eef43","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8d5729350b236896f51379588d9a690b7fafb8db","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e1955a94b6f17f4b058afa955a6f187eb3ed7615","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ef7902be3f215b6bf7babe4dc9dd9a7d57dad7a7","tags":["Patch"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-784472","url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","published":"2026-10-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 TM MFP V1.1.1"}},{"source":"suse","id":"openSUSE-SU-2026:10793-1","url":"https://www.suse.com/support/update/","published":"2026-05-16T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-7.0.7-1.1 on GA media"}}]}