{"id":"CVE-2026-89489","aliases":["CVE-2026-89489"],"related":[],"kind":"vulnerability","state":"published","title":"openrisc: fix arbitrary kernel memory access via or1k_atomic syscall","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenrisc: fix arbitrary kernel memory access via or1k_atomic syscall\n\nsys_or1k_atomic() (syscall 244 in the \"or1k\" ABI) takes two user\npointers, v1 and v2, and swaps the words they point to in hand-written\nassembly.\n\n    l.lwz   r29,0(r4)\n    l.lwz   r27,0(r5)\n    l.sw    0(r4),r27\n    l.sw    0(r5),r29\n\nThe pointers are not checked with access_ok(). The four memory\naccesses also have no exception table entries.\n\nA caller passes a kernel address as either pointer, and the syscall\nreads from and writes to it directly.\n\nThis gives an unprivileged process a kernel read/write primitive. It\noverwrites kernel data such as the sys_call_table, gaining code\nexecution in kernel context.\n\nCheck both pointers before entering the critical section. Add fixups\nfor the four memory accesses so faults on valid but unmapped user\naddresses return -EFAULT.\n\n[shorne@gmail.com: fix comment style]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenrisc: fix arbitrary kernel memory access via or1k_atomic syscall\n\nsys_or1k_atomic() (syscall 244 in the \"or1k\" ABI) takes two user\npointers, v1 and v2, and swaps the words they point to in hand-written\nassembly.\n\n    l.lwz   r29,0(r4)\n    l.lwz   r27,0(r5)\n    l.sw    0(r4),r27\n    l.sw    0(r5),r29\n\nThe pointers are not checked with access_ok(). The four memory\naccesses also have no exception table entries.\n\nA caller passes a kernel address as either pointer, and the syscall\nreads from and writes to it directly.\n\nThis gives an unprivileged process a kernel read/write primitive. It\noverwrites kernel data such as the sys_call_table, gaining code\nexecution in kernel context.\n\nCheck both pointers before entering the critical section. Add fixups\nfor the four memory accesses so faults on valid but unmapped user\naddresses return -EFAULT.\n\n[shorne@gmail.com: fix comment style]","source":"cvelist"}],"published":"2026-09-11T19:43:42.164Z","modified":"2026-10-19T09:17:42.653Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"bf310718c6fa6adeee06d207a55489546d860e2c","status":"affected"},{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"497cba0b02e5555d99fe9ee1dc478af743ab7f7a","status":"affected"},{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"1f2e92e499d863f81df1732af59b4a3559969193","status":"affected"},{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"574ae2ac2b314aa33498cd2c28add106cbe644f2","status":"affected"},{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"a520e8cac54fb403f3800125b606f55fcad42cb9","status":"affected"},{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"d64a75369cd0f2ee79afcc9d9ca34a3890989379","status":"affected"},{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"b53435c079c78f89f70a62dd5a322cca4e292b34","status":"affected"},{"type":"git","introduced":"9d02a4283e9ce4e9ca11ff00615bdacdb0515a1a","fixed":"78004e9a87f240df03e2f73120d291763c32e0a7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bf310718c6fa6adeee06d207a55489546d860e2c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/497cba0b02e5555d99fe9ee1dc478af743ab7f7a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f2e92e499d863f81df1732af59b4a3559969193","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/574ae2ac2b314aa33498cd2c28add106cbe644f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a520e8cac54fb403f3800125b606f55fcad42cb9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d64a75369cd0f2ee79afcc9d9ca34a3890989379","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b53435c079c78f89f70a62dd5a322cca4e292b34","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78004e9a87f240df03e2f73120d291763c32e0a7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89489","url":"https://www.cve.org/CVERecord?id=CVE-2026-89489","licence":"CVE Terms of Use","modified":"2026-10-19T08:47:40.968Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89489","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89489","licence":"Public domain","modified":"2026-10-19T09:17:42.653Z"}],"updatedAt":"2026-11-25T22:59:38.037Z","epss":{"score":0.00136,"percentile":0.03252,"date":"2026-12-02T12:00:21.000Z"}}