# CVE-2022-49156: scsi: qla2xxx: Fix scheduling while atomic

> 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, NVD) `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.28% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T01:55:20.285Z
- **Modified:** 2026-06-17T05:17:14.313Z

## Who should check

- Anyone running Linux \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 7fef50214dd04427233a2e66cd624d468e67aecb; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 826a9d4a00d1424afa961504aec6298ee92d5053; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 78225d6a2a4ffdb2250ce2b7691a9e68a3f86912; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 78612f2fe8e26637476d756a44f0f05cca0d97de; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< afd438ff874ca40b74321b3fa19bd61adfd7ca0c
- Anyone running Linux 4.11

## Description

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

scsi: qla2xxx: Fix scheduling while atomic

The driver makes a call into midlayer (fc\_remote\_port\_delete) which can put
the thread to sleep. The thread that originates the call is in interrupt
context. The combination of the two trigger a crash. Schedule the call in
non-interrupt context where it is more safe.

kernel: BUG: scheduling while atomic: swapper/7/0/0x00010000
kernel: Call Trace:
kernel:  \<IRQ\>
kernel:  dump\_stack+0x66/0x81
kernel:  \_\_schedule\_bug.cold.90+0x5/0x1d
kernel:  \_\_schedule+0x7af/0x960
kernel:  schedule+0x28/0x80
kernel:  schedule\_timeout+0x26d/0x3b0
kernel:  wait\_for\_completion+0xb4/0x140
kernel:  ? wake\_up\_q+0x70/0x70
kernel:  \_\_wait\_rcu\_gp+0x12c/0x160
kernel:  ? sdev\_evt\_alloc+0xc0/0x180 \[scsi\_mod\]
kernel:  synchronize\_sched+0x6c/0x80
kernel:  ? call\_rcu\_bh+0x20/0x20
kernel:  ? \_\_bpf\_trace\_rcu\_invoke\_callback+0x10/0x10
kernel:  sdev\_evt\_alloc+0xfd/0x180 \[scsi\_mod\]
kernel:  starget\_for\_each\_device+0x85/0xb0 \[scsi\_mod\]
kernel:  ? scsi\_init\_io+0x360/0x3d0 \[scsi\_mod\]
kernel:  scsi\_init\_io+0x388/0x3d0 \[scsi\_mod\]
kernel:  device\_for\_each\_child+0x54/0x90
kernel:  fc\_remote\_port\_delete+0x70/0xe0 \[scsi\_transport\_fc\]
kernel:  qla2x00\_schedule\_rport\_del+0x62/0xf0 \[qla2xxx\]
kernel:  qla2x00\_mark\_device\_lost+0x9c/0xd0 \[qla2xxx\]
kernel:  qla24xx\_handle\_plogi\_done\_event+0x55f/0x570 \[qla2xxx\]
kernel:  qla2x00\_async\_login\_sp\_done+0xd2/0x100 \[qla2xxx\]
kernel:  qla24xx\_logio\_entry+0x13a/0x3c0 \[qla2xxx\]
kernel:  qla24xx\_process\_response\_queue+0x306/0x400 \[qla2xxx\]
kernel:  qla24xx\_msix\_rsp\_q+0x3f/0xb0 \[qla2xxx\]
kernel:  \_\_handle\_irq\_event\_percpu+0x40/0x180
kernel:  handle\_irq\_event\_percpu+0x30/0x80
kernel:  handle\_irq\_event+0x36/0x60

## Affected and fixed versions

- Linux: \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 7fef50214dd04427233a2e66cd624d468e67aecb; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 826a9d4a00d1424afa961504aec6298ee92d5053; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 78225d6a2a4ffdb2250ce2b7691a9e68a3f86912; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 78612f2fe8e26637476d756a44f0f05cca0d97de; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< afd438ff874ca40b74321b3fa19bd61adfd7ca0c (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49156.md
Affected: Linux >= 726b85487067d7f5b23495bc33c484b8517c4074, < 7fef50214dd04427233a2e66cd624d468e67aecb; >= 726b85487067d7f5b23495bc33c484b8517c4074, < 826a9d4a00d1424afa961504aec6298ee92d5053; >= 726b85487067d7f5b23495bc33c484b8517c4074, < 78225d6a2a4ffdb2250ce2b7691a9e68a3f86912; >= 726b85487067d7f5b23495b…
Fixed in: Linux 7fef50214dd04427233a2e66cd624d468e67aecb, Linux 826a9d4a00d1424afa961504aec6298ee92d5053, Linux 78225d6a2a4ffdb2250ce2b7691a9e68a3f86912, Linux 78612f2fe8e26637476d756a44f0f05cca0d97de

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-49156 being exploited?

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

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

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

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

Linux \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 7fef50214dd04427233a2e66cd624d468e67aecb; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 826a9d4a00d1424afa961504aec6298ee92d5053; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 78225d6a2a4ffdb2250ce2b7691a9e68a3f86912; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< 78612f2fe8e26637476d756a44f0f05cca0d97de; \>= 726b85487067d7f5b23495bc33c484b8517c4074, \< afd438ff874ca40b74321b3fa19bd61adfd7ca0c; Linux 4.11.

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

Yes. Fixed in Linux 7fef50214dd04427233a2e66cd624d468e67aecb, Linux 826a9d4a00d1424afa961504aec6298ee92d5053, Linux 78225d6a2a4ffdb2250ce2b7691a9e68a3f86912, Linux 78612f2fe8e26637476d756a44f0f05cca0d97de. No fix listed yet: follow the vendor advisory.

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

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/7fef50214dd04427233a2e66cd624d468e67aecb>
- patch: <https://git.kernel.org/stable/c/826a9d4a00d1424afa961504aec6298ee92d5053>
- patch: <https://git.kernel.org/stable/c/78225d6a2a4ffdb2250ce2b7691a9e68a3f86912>
- patch: <https://git.kernel.org/stable/c/78612f2fe8e26637476d756a44f0f05cca0d97de>
- patch: <https://git.kernel.org/stable/c/afd438ff874ca40b74321b3fa19bd61adfd7ca0c>

## 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-49156>

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