# CVE-2022-48628: ceph: drop messages from MDS when unmounting

> 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.30% (percentile 16, 2026-11-26)
- **Published:** 2024-03-02T21:52:14.626Z
- **Modified:** 2026-08-11T03:17:34.100Z

## Who should check

- Anyone running Linux \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< 89744b64914426cbabceb3d8a149176b5dafdfb5; \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< 47f82395f04a976d4fa97de7f2acffa1c1096571; \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< e3dfcab2080dc1f9a4b09cc1327361bc2845bfcd
- Anyone running Linux 2.6.34

## Description

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

ceph: drop messages from MDS when unmounting

When unmounting all the dirty buffers will be flushed and after
the last osd request is finished the last reference of the i\_count
will be released. Then it will flush the dirty cap/snap to MDSs,
and the unmounting won't wait the possible acks, which will ihold
the inodes when updating the metadata locally but makes no sense
any more, of this. This will make the evict\_inodes() to skip these
inodes.

If encrypt is enabled the kernel generate a warning when removing
the encrypt keys when the skipped inodes still hold the keyring:

WARNING: CPU: 4 PID: 168846 at fs/crypto/keyring.c:242 fscrypt\_destroy\_keyring+0x7e/0xd0
CPU: 4 PID: 168846 Comm: umount Tainted: G S  6.1.0-rc5-ceph-g72ead199864c \#1
Hardware name: Supermicro SYS-5018R-WR/X10SRW-F, BIOS 2.0 12/17/2015
RIP: 0010:fscrypt\_destroy\_keyring+0x7e/0xd0
RSP: 0018:ffffc9000b277e28 EFLAGS: 00010202
RAX: 0000000000000002 RBX: ffff88810d52ac00 RCX: ffff88810b56aa00
RDX: 0000000080000000 RSI: ffffffff822f3a09 RDI: ffff888108f59000
RBP: ffff8881d394fb88 R08: 0000000000000028 R09: 0000000000000000
R10: 0000000000000001 R11: 11ff4fe6834fcd91 R12: ffff8881d394fc40
R13: ffff888108f59000 R14: ffff8881d394f800 R15: 0000000000000000
FS:  00007fd83f6f1080(0000) GS:ffff88885fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f918d417000 CR3: 000000017f89a005 CR4: 00000000003706e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
\<TASK\>
generic\_shutdown\_super+0x47/0x120
kill\_anon\_super+0x14/0x30
ceph\_kill\_sb+0x36/0x90 \[ceph\]
deactivate\_locked\_super+0x29/0x60
cleanup\_mnt+0xb8/0x140
task\_work\_run+0x67/0xb0
exit\_to\_user\_mode\_prepare+0x23d/0x240
syscall\_exit\_to\_user\_mode+0x25/0x60
do\_syscall\_64+0x40/0x80
entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
RIP: 0033:0x7fd83dc39e9b

Later the kernel will crash when iput() the inodes and dereferencing
the "sb-\>s\_master\_keys", which has been released by the
generic\_shutdown\_super().

## Affected and fixed versions

- Linux: \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< 89744b64914426cbabceb3d8a149176b5dafdfb5; \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< 47f82395f04a976d4fa97de7f2acffa1c1096571; \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< e3dfcab2080dc1f9a4b09cc1327361bc2845bfcd (cvelist)
- Linux: 2.6.34 (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-48628. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48628.md
Affected: Linux >= 2f2dc053404febedc9c273452d9d518fb31fde72, < 89744b64914426cbabceb3d8a149176b5dafdfb5; >= 2f2dc053404febedc9c273452d9d518fb31fde72, < 47f82395f04a976d4fa97de7f2acffa1c1096571; >= 2f2dc053404febedc9c273452d9d518fb31fde72, < e3dfcab2080dc1f9a4b09cc1327361bc2845bfcd; Linux 2.6.34
Fixed in: Linux 89744b64914426cbabceb3d8a149176b5dafdfb5, Linux 47f82395f04a976d4fa97de7f2acffa1c1096571

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

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

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

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

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

Linux \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< 89744b64914426cbabceb3d8a149176b5dafdfb5; \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< 47f82395f04a976d4fa97de7f2acffa1c1096571; \>= 2f2dc053404febedc9c273452d9d518fb31fde72, \< e3dfcab2080dc1f9a4b09cc1327361bc2845bfcd; Linux 2.6.34.

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

Yes. Fixed in Linux 89744b64914426cbabceb3d8a149176b5dafdfb5, Linux 47f82395f04a976d4fa97de7f2acffa1c1096571. No fix listed yet: follow the vendor advisory.

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

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/89744b64914426cbabceb3d8a149176b5dafdfb5>
- patch: <https://git.kernel.org/stable/c/47f82395f04a976d4fa97de7f2acffa1c1096571>
- patch: <https://git.kernel.org/stable/c/e3dfcab2080dc1f9a4b09cc1327361bc2845bfcd>

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

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