{"id":"CVE-2021-46965","aliases":["CVE-2021-46965"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: physmap: physmap-bt1-rom: Fix unintentional stack access","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: physmap: physmap-bt1-rom: Fix unintentional stack access\n\nCast &data to (char *) in order to avoid unintentionally accessing\nthe stack.\n\nNotice that data is of type u32, so any increment to &data\nwill be in the order of 4-byte chunks, and this piece of code\nis actually intended to be a byte offset.\n\nAddresses-Coverity-ID: 1497765 (\"Out-of-bounds access\")","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: physmap: physmap-bt1-rom: Fix unintentional stack access\n\nCast &data to (char *) in order to avoid unintentionally accessing\nthe stack.\n\nNotice that data is of type u32, so any increment to &data\nwill be in the order of 4-byte chunks, and this piece of code\nis actually intended to be a byte offset.\n\nAddresses-Coverity-ID: 1497765 (\"Out-of-bounds access\")","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mtd: physmap: physmap-bt1-rom: corrige el acceso involuntario a la pila. Transmite &amp;data a (char *) para evitar el acceso involuntario a la pila. Tenga en cuenta que los datos son de tipo u32, por lo que cualquier incremento en &amp;data será del orden de fragmentos de 4 bytes, y este fragmento de código en realidad está destinado a ser un desplazamiento de bytes. Direcciones-Coverity-ID: 1497765 (\"Acceso fuera de límites\")","source":"nvd"}],"published":"2024-02-27T18:47:03.022Z","modified":"2026-06-17T04:16:00.683Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"b3e79e7682e075326df8041b826b03453acacd0a","fixed":"34ec706bf0b7c4ca249a729c1bcb91f706c7a7be","status":"affected"},{"type":"git","introduced":"b3e79e7682e075326df8041b826b03453acacd0a","fixed":"4e4ebb827bf09311469ffd9d0c14ed40ed9747aa","status":"affected"},{"type":"git","introduced":"b3e79e7682e075326df8041b826b03453acacd0a","fixed":"4d786870e3262ec098a3b4ed10b895176bc66ecb","status":"affected"},{"type":"git","introduced":"b3e79e7682e075326df8041b826b03453acacd0a","fixed":"683313993dbe1651c7aa00bb42a041d70e914925","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.36","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.20","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.3","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.36"},{"status":"affected","introduced":"5.11","fixed":"5.11.20"},{"status":"affected","introduced":"5.12","fixed":"5.12.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/34ec706bf0b7c4ca249a729c1bcb91f706c7a7be","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e4ebb827bf09311469ffd9d0c14ed40ed9747aa","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d786870e3262ec098a3b4ed10b895176bc66ecb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/683313993dbe1651c7aa00bb42a041d70e914925","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-27T19:38:51.925Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46965","url":"https://www.cve.org/CVERecord?id=CVE-2021-46965","licence":"CVE Terms of Use","modified":"2026-05-11T13:45:21.294Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46965","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46965","licence":"Public domain","modified":"2026-06-17T04:16:00.683Z"}],"updatedAt":"2026-11-25T22:58:08.590Z","epss":{"score":0.0023,"percentile":0.14799,"date":"2026-12-01T12:00:22.000Z"}}