{"id":"CVE-2024-36957","published":"2024-05-30T15:35:50Z","modified":"2026-05-23T15:47:48Z","title":"octeontx2-af: avoid off-by-one read from userspace","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-af: avoid off-by-one read from userspace\n\nWe try to access count + 1 byte from userspace with memdup_user(buffer,\ncount + 1). However, the userspace only provides buffer of count bytes and\nonly these count bytes are verified to be okay to access. To ensure the\ncopied buffer is NUL terminated, we use memdup_user_nul instead.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00312,"percentile":0.1653,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bcdac70adceb44373da204c3c297f2a98e13216e","tags":[]},{"url":"https://git.kernel.org/stable/c/ec697fbd38cbe2eef0948b58673b146caa95402f","tags":[]},{"url":"https://git.kernel.org/stable/c/8f11fe3ea3fc261640cfc8a5addd838000407c67","tags":[]},{"url":"https://git.kernel.org/stable/c/0a0285cee11c7dcc2657bcd456e469958a5009e7","tags":[]},{"url":"https://git.kernel.org/stable/c/fc3e0076c1f82fe981d321e3a7bad4cbee542c19","tags":[]},{"url":"https://git.kernel.org/stable/c/f299ee709fb45036454ca11e90cb2810fe771878","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html","tags":["x_transferred"]}],"priority":{"score":3.3,"factors":[{"name":"EPSS percentile","points":3.31}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= dae49384d0d7695540e2d75168f323cef1384810, < bcdac70adceb44373da204c3c297f2a98e13216e",">= 3a2eb515d1367c0f667b76089a6e727279c688b8, < ec697fbd38cbe2eef0948b58673b146caa95402f",">= 3a2eb515d1367c0f667b76089a6e727279c688b8, < 8f11fe3ea3fc261640cfc8a5addd838000407c67",">= 3a2eb515d1367c0f667b76089a6e727279c688b8, < 0a0285cee11c7dcc2657bcd456e469958a5009e7",">= 3a2eb515d1367c0f667b76089a6e727279c688b8, < fc3e0076c1f82fe981d321e3a7bad4cbee542c19",">= 3a2eb515d1367c0f667b76089a6e727279c688b8, < f299ee709fb45036454ca11e90cb2810fe771878","c9a2ed3fdd037314a71e6a6ba5d99a3605f6f9c7",">= 5.10.20, < 5.10.217",">= 5.11.3, < 5.12"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-05T18:14:35.481589Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-36307","exploited":false,"provenance":"source"}}