# CVE-2022-48695: scsi: mpt3sas: Fix use-after-free warning

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-05-03T17:44:55.829Z
- **Modified:** 2026-08-05T08:51:48.371Z

## Who should check

- Anyone running Linux \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< b8fc9e91b931215110ba824d1a2983c5f60b6f82; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< d4959d09b76eb7a4146f5133962b88d3bddb63d6; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 82efb917eeb27454dc4c6fe26432fc8f6c75bc16; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 5682c94644fde72f72bded6580c38189ffc856b5; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< ea10a652ad2ae2cf3eced6f632a5c98f26727057; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 6229fa494a5949be209bc73afbc5d0a749c2e3c7; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 41acb064c4e013808bc7d5fc1b506fa449425b0b; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34
- Anyone running Linux 4.4

## Description

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

scsi: mpt3sas: Fix use-after-free warning

Fix the following use-after-free warning which is observed during
controller reset:

refcount\_t: underflow; use-after-free.
WARNING: CPU: 23 PID: 5399 at lib/refcount.c:28 refcount\_warn\_saturate+0xa6/0xf0

## Affected and fixed versions

- Linux: \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< b8fc9e91b931215110ba824d1a2983c5f60b6f82; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< d4959d09b76eb7a4146f5133962b88d3bddb63d6; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 82efb917eeb27454dc4c6fe26432fc8f6c75bc16; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 5682c94644fde72f72bded6580c38189ffc856b5; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< ea10a652ad2ae2cf3eced6f632a5c98f26727057; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 6229fa494a5949be209bc73afbc5d0a749c2e3c7; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 41acb064c4e013808bc7d5fc1b506fa449425b0b; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34 (cvelist)
- Linux: 4.4 (cvelist)

## Mitigation

- Upgrade Linux to 991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34 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-48695. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48695.md
Affected: Linux >= 146b16c8071f5f6c67895d15beeee1163f5107c4, < b8fc9e91b931215110ba824d1a2983c5f60b6f82; >= 146b16c8071f5f6c67895d15beeee1163f5107c4, < d4959d09b76eb7a4146f5133962b88d3bddb63d6; >= 146b16c8071f5f6c67895d15beeee1163f5107c4, < 82efb917eeb27454dc4c6fe26432fc8f6c75bc16; >= 146b16c8071f5f6c67895d1…
Fixed in: Linux 82efb917eeb27454dc4c6fe26432fc8f6c75bc16, Linux 5682c94644fde72f72bded6580c38189ffc856b5, Linux 6229fa494a5949be209bc73afbc5d0a749c2e3c7, Linux 41acb064c4e013808bc7d5fc1b506fa449425b0b, Linux 991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34

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

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

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

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

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

Linux \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< b8fc9e91b931215110ba824d1a2983c5f60b6f82; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< d4959d09b76eb7a4146f5133962b88d3bddb63d6; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 82efb917eeb27454dc4c6fe26432fc8f6c75bc16; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 5682c94644fde72f72bded6580c38189ffc856b5; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< ea10a652ad2ae2cf3eced6f632a5c98f26727057; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 6229fa494a5949be209bc73afbc5d0a749c2e3c7; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 41acb064c4e013808bc7d5fc1b506fa449425b0b; \>= 146b16c8071f5f6c67895d15beeee1163f5107c4, \< 991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34; Linux 4.4.

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

Yes. Fixed in Linux 82efb917eeb27454dc4c6fe26432fc8f6c75bc16, Linux 5682c94644fde72f72bded6580c38189ffc856b5, Linux 6229fa494a5949be209bc73afbc5d0a749c2e3c7, Linux 41acb064c4e013808bc7d5fc1b506fa449425b0b, Linux 991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34. Upgrade Linux to 991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34 or later.

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

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/b8fc9e91b931215110ba824d1a2983c5f60b6f82>
- patch: <https://git.kernel.org/stable/c/d4959d09b76eb7a4146f5133962b88d3bddb63d6>
- patch: <https://git.kernel.org/stable/c/82efb917eeb27454dc4c6fe26432fc8f6c75bc16>
- patch: <https://git.kernel.org/stable/c/5682c94644fde72f72bded6580c38189ffc856b5>
- patch: <https://git.kernel.org/stable/c/ea10a652ad2ae2cf3eced6f632a5c98f26727057>
- patch: <https://git.kernel.org/stable/c/6229fa494a5949be209bc73afbc5d0a749c2e3c7>
- patch: <https://git.kernel.org/stable/c/41acb064c4e013808bc7d5fc1b506fa449425b0b>
- patch: <https://git.kernel.org/stable/c/991df3dd5144f2e6b1c38b8d20ed3d4d21e20b34>

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

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