{"id":"CVE-2022-49640","summary":"sysctl: Fix data races in proc_douintvec_minmax().","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsysctl: Fix data races in proc_douintvec_minmax().\n\nA sysctl variable is accessed concurrently, and there is always a chance\nof data-race.  So, all readers and writers need some basic protection to\navoid load/store-tearing.\n\nThis patch changes proc_douintvec_minmax() to use READ_ONCE() and\nWRITE_ONCE() internally to fix data-races on the sysctl side.  For now,\nproc_douintvec_minmax() itself is tolerant to a data-race, but we still\nneed to add annotations on the other subsystem's side.","modified":"2026-04-02T08:27:47.974806Z","published":"2025-02-26T02:23:48.206Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49640.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2d3b559df3ed39258737789aae2ae7973d205bc1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40e0477a7371d101c55b69d9c32a7a1ed82ab5ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b60eddf98b9716651069dfda296c91311a7a6293"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3a2144b3b6bf9ecafd91087c8b8b48171ec19df"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49640.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49640"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"61d9b56a89208d8cccd0b4cfec7e6959717e16e3"},{"fixed":"e3a2144b3b6bf9ecafd91087c8b8b48171ec19df"},{"fixed":"40e0477a7371d101c55b69d9c32a7a1ed82ab5ea"},{"fixed":"b60eddf98b9716651069dfda296c91311a7a6293"},{"fixed":"2d3b559df3ed39258737789aae2ae7973d205bc1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49640.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}