# CVE-2022-49751: w1: fix WARNING after calling w1\_process()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-03-27T16:42:59.669Z
- **Modified:** 2026-06-17T05:19:02.770Z

## Who should check

- Anyone running Linux \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 190b5c3bbd5df685bb1063bda048831d72b8f1d4; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< bccd6df4c177b1ad766f16565ccc298653d027d0; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 276052159ba94d4d9f5b453fb4707d6798c6b845; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 216f35db6ec6a667cd9db4838d657c1d2f4684da; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 89c62cee5d4d65ac75d99b5f986f7f94290e888f; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< cfc7462ff824ed6718ed0272ee9aae88e20d469a; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b
- Anyone running Linux 2.6.28

## Description

In the Linux kernel, the following vulnerability has been resolved:

w1: fix WARNING after calling w1\_process()

I got the following WARNING message while removing driver(ds2482):

------------\[ cut here \]------------
do not call blocking ops when !TASK\_RUNNING; state=1 set at \[\<000000002d50bfb6\>\] w1\_process+0x9e/0x1d0 \[wire\]
WARNING: CPU: 0 PID: 262 at kernel/sched/core.c:9817 \_\_might\_sleep+0x98/0xa0
CPU: 0 PID: 262 Comm: w1\_bus\_master1 Tainted: G                 N 6.1.0-rc3+ \#307
RIP: 0010:\_\_might\_sleep+0x98/0xa0
Call Trace:
 exit\_signals+0x6c/0x550
 do\_exit+0x2b4/0x17e0
 kthread\_exit+0x52/0x60
 kthread+0x16d/0x1e0
 ret\_from\_fork+0x1f/0x30

The state of task is set to TASK\_INTERRUPTIBLE in loop in w1\_process(),
set it to TASK\_RUNNING when it breaks out of the loop to avoid the
warning.

## Affected and fixed versions

- Linux: \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 190b5c3bbd5df685bb1063bda048831d72b8f1d4; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< bccd6df4c177b1ad766f16565ccc298653d027d0; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 276052159ba94d4d9f5b453fb4707d6798c6b845; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 216f35db6ec6a667cd9db4838d657c1d2f4684da; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 89c62cee5d4d65ac75d99b5f986f7f94290e888f; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< cfc7462ff824ed6718ed0272ee9aae88e20d469a; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b (cvelist)
- Linux: 2.6.28 (cvelist)

## Mitigation

- Upgrade Linux to 36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49751. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49751.md
Affected: Linux >= 3c52e4e627896b42152cc6ff98216c302932227e, < 190b5c3bbd5df685bb1063bda048831d72b8f1d4; >= 3c52e4e627896b42152cc6ff98216c302932227e, < bccd6df4c177b1ad766f16565ccc298653d027d0; >= 3c52e4e627896b42152cc6ff98216c302932227e, < 276052159ba94d4d9f5b453fb4707d6798c6b845; >= 3c52e4e627896b42152cc6f…
Fixed in: Linux 190b5c3bbd5df685bb1063bda048831d72b8f1d4, Linux 276052159ba94d4d9f5b453fb4707d6798c6b845, Linux 216f35db6ec6a667cd9db4838d657c1d2f4684da, Linux 89c62cee5d4d65ac75d99b5f986f7f94290e888f, Linux 36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49751 being exploited?

There is no confirmed exploitation: CVE-2022-49751 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49751?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49751?

Linux \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 190b5c3bbd5df685bb1063bda048831d72b8f1d4; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< bccd6df4c177b1ad766f16565ccc298653d027d0; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 276052159ba94d4d9f5b453fb4707d6798c6b845; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 216f35db6ec6a667cd9db4838d657c1d2f4684da; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 89c62cee5d4d65ac75d99b5f986f7f94290e888f; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< cfc7462ff824ed6718ed0272ee9aae88e20d469a; \>= 3c52e4e627896b42152cc6ff98216c302932227e, \< 36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b; Linux 2.6.28.

### Is there a fix for CVE-2022-49751?

Yes. Fixed in Linux 190b5c3bbd5df685bb1063bda048831d72b8f1d4, Linux 276052159ba94d4d9f5b453fb4707d6798c6b845, Linux 216f35db6ec6a667cd9db4838d657c1d2f4684da, Linux 89c62cee5d4d65ac75d99b5f986f7f94290e888f, Linux 36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b. Upgrade Linux to 36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b or later.

### How do I check if I'm affected by CVE-2022-49751?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/190b5c3bbd5df685bb1063bda048831d72b8f1d4>
- patch: <https://git.kernel.org/stable/c/bccd6df4c177b1ad766f16565ccc298653d027d0>
- patch: <https://git.kernel.org/stable/c/276052159ba94d4d9f5b453fb4707d6798c6b845>
- patch: <https://git.kernel.org/stable/c/216f35db6ec6a667cd9db4838d657c1d2f4684da>
- patch: <https://git.kernel.org/stable/c/89c62cee5d4d65ac75d99b5f986f7f94290e888f>
- patch: <https://git.kernel.org/stable/c/cfc7462ff824ed6718ed0272ee9aae88e20d469a>
- patch: <https://git.kernel.org/stable/c/36225a7c72e9e3e1ce4001b6ce72849f5c9a2d3b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49751>

HTML: <https://flawdb.com/CVE-2022-49751> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49751>
