UBUNTU-CVE-2022-49033

Advisory lineage Upstream: 1 Downstream: 1
Upstream
Downstream
Published: 21 Oct 2024, 20:15
Last modified:03 Jun 2026, 13:35

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

21 Oct 2024, 20:15
Published
Vulnerability first disclosed
03 Jun 2026, 13:35
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit() Syzkaller reported BUG as follows: BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 Call Trace: <TASK> dump_stack_lvl+0xcd/0x134 __might_resched.cold+0x222/0x26b kmem_cache_alloc+0x2e7/0x3c0 update_qgroup_limit_item+0xe1/0x390 btrfs_qgroup_inherit+0x147b/0x1ee0 create_subvol+0x4eb/0x1710 btrfs_mksubvol+0xfe5/0x13f0 __btrfs_ioctl_snap_create+0x2b0/0x430 btrfs_ioctl_snap_create_v2+0x25a/0x520 btrfs_ioctl+0x2a1c/0x5ce0 __x64_sys_ioctl+0x193/0x200 do_syscall_64+0x35/0x80 Fix this by calling qgroup_dirty() on @dstqgroup, and update limit item in btrfs_run_qgroups() later outside of the spinlock context.

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Systems

  • ubuntulinux

    all | < 4.4.0-280.314 | < 4.15.0-206.217 | < 5.4.0-144.161 | < 5.15.0-67.74

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | < 4.4.0-1154.160 | < 4.4.0-1192.207 | < 4.15.0-1151.164 | < 5.4.0-1097.105 | < 5.15.0-1031.35

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1031.35~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1097.105~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-fips

    < 4.15.0-2090.96 | all | < 5.4.0-1099.107+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1151.164~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1162.177~14.04.1 | < 4.15.0-1162.177~16.04.1 | all | < 5.4.0-1104.110 | < 5.15.0-1034.41

  • ubuntulinux-azure-4.15

    < 4.15.0-1162.177

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1034.41~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1104.110~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | < 5.15.0-1034.41.1

  • ubuntulinux-azure-fde-5.15

    all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2071.77 | all | < 5.4.0-1104.110+fips1

  • ubuntulinux-bluefield

    < 5.15.0-1014.16 | < 5.4.0-1059.65 | < 5.15.0-1014.16 | all

  • ubuntulinux-fips

    all | < 4.15.0-1108.119 | < 5.4.0-1073.82

  • ubuntulinux-gcp

    < 4.15.0-1146.162~16.04.1 | all | < 5.4.0-1101.110 | < 5.15.0-1030.37

  • ubuntulinux-gcp-4.15

    < 4.15.0-1146.162

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1030.37~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1101.110~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-fips

    < 4.15.0-2055.60 | all | < 5.4.0-1101.110+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1028.33

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.15

    all

  • ubuntulinux-gke-5.4

    all

Showing first 50 affected entries in server-rendered view.

References (12)