CVE-2022-49296
published medium CVSS 3.1 · 5.5ceph: fix possible deadlock when holding Fwb to get inline_data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux083db6fd3e73fc4f9ee74d2da1012a94216d6a60 to < 292b7a7275ce535a1abfa4dd0b2e586162aaae1e · 083db6fd3e73fc4f9ee74d2da1012a94216d6a60 to < 825978fd6a0defc3c29d8a38b6cea76a0938d21e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 5.18.4 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
Show 61 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_100-defaultppc64le | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_100-defaults390x | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_100-defaultx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.91.1 | SUSE-SU-2025:1176-1 |
| SUSE / openSUSE | SLE-5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.91.1 | SUSE-SU-2025:1176-1 |
| SUSE / openSUSE | SLE-5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.91.1 | SUSE-SU-2025:1176-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix possible deadlock when holding Fwb to get inline_data 1, mount with wsync. 2, create a file with O_RDWR, and the request was sent to mds.0: ceph_atomic_open()--> ceph_mdsc_do_request(openc) finish_open(file, dentry, ceph_open)--> ceph_open()--> ceph_init_file()--> ceph_init_file_info()--> ceph_uninline_data()--> { ... if (inline_version == 1 || /* initial version, no data */ inline_version == CEPH_INLINE_NONE) goto out_unlock; ... } The inline_version will be 1, which is the initial version for the new create file. And here the ci->i_inline_version will keep with 1, it's buggy. 3, buffer write to the file immediately: ceph_write_iter()--> ceph_get_caps(file, need=Fw, want=Fb, ...); generic_perform_write()--> a_ops->write_begin()--> ceph_write_begin()--> netfs_write_begin()--> netfs_begin_read()--> netfs_rreq_submit_slice()--> netfs_read_from_server()--> rreq->netfs_ops->issue_read()--> ceph_netfs_issue_read()--> { ... if (ci->i_inline_version != CEPH_INLINE_NONE && ceph_netfs_issue_op_inline(subreq)) return; ... } ceph_put_cap_refs(ci, Fwb); The ceph_netfs_issue_op_inline() will send a getattr(Fsr) request to mds.1. 4, then the mds.1 will request the rd lock for CInode::filelock from the auth mds.0, the mds.0 will do the CInode::filelock state transation from excl --> sync, but it need to revoke the Fxwb caps back from the clients. While the kernel client has aleady held the Fwb caps and waiting for the getattr(Fsr). It's deadlock! URL: https://tracker.ceph.com/issues/55377
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 083db6fd3e73fc4f9ee74d2da1012a94216d6a60 to < 292b7a7275ce535a1abfa4dd0b2e586162aaae1e (affected · git)083db6fd3e73fc4f9ee74d2da1012a94216d6a60 to < 825978fd6a0defc3c29d8a38b6cea76a0938d21e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)5.18.4 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-667 CWE-667 Improper Locking
References
2Provider assertions
2Linux · cna
ceph: fix possible deadlock when holding Fwb to get inline_data
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 86dce3aef46d26bf53da58000e8b482626c4e6a96d67867b8a11506ce15c29f2
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record