{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49640","id":"CVE-2022-49640","title":"sysctl: Fix data races in proc_douintvec_minmax().","description":"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-race","descriptionLong":"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.","published":"2025-02-26T02:23:48.206Z","updated":"2026-10-28T02:30:56.785942162Z","reserved":"2025-02-26T02:21:30.430Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"61d9b56a89208d8cccd0b4cfec7e6959717e16e3","lessThan":"e3a2144b3b6bf9ecafd91087c8b8b48171ec19df","status":"affected","versionType":"git"},{"version":"61d9b56a89208d8cccd0b4cfec7e6959717e16e3","lessThan":"40e0477a7371d101c55b69d9c32a7a1ed82ab5ea","status":"affected","versionType":"git"},{"version":"61d9b56a89208d8cccd0b4cfec7e6959717e16e3","lessThan":"b60eddf98b9716651069dfda296c91311a7a6293","status":"affected","versionType":"git"},{"version":"61d9b56a89208d8cccd0b4cfec7e6959717e16e3","lessThan":"2d3b559df3ed39258737789aae2ae7973d205bc1","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","lessThan":"4.13","status":"unaffected","versionType":"semver"},{"version":"5.10.132","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.56","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.13","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/e3a2144b3b6bf9ecafd91087c8b8b48171ec19df","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/40e0477a7371d101c55b69d9c32a7a1ed82ab5ea","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b60eddf98b9716651069dfda296c91311a7a6293","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2d3b559df3ed39258737789aae2ae7973d205bc1","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49640.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49640","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00177,"epssPercentile":0.07396,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49640","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49640","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49640","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49640","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}