CVE-2022-50379 (CNNVD-202509-3005)

UNKNOWN
中文标题:
Linux kernel 安全漏洞
英文标题:
btrfs: fix race between quota enable and quota rescan ioctl
CVSS分数: N/A
发布时间: 2025-09-18 13:33:01
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v5
漏洞描述
中文描述:

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于配额启用和配额重新扫描ioctl之间存在竞争条件,可能导致释放后重用。

英文描述:

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix race between quota enable and quota rescan ioctl When enabling quotas, at btrfs_quota_enable(), after committing the transaction, we change fs_info->quota_root to point to the quota root we created and set BTRFS_FS_QUOTA_ENABLED at fs_info->flags. Then we try to start the qgroup rescan worker, first by initializing it with a call to qgroup_rescan_init() - however if that fails we end up freeing the quota root but we leave fs_info->quota_root still pointing to it, this can later result in a use-after-free somewhere else. We have previously set the flags BTRFS_FS_QUOTA_ENABLED and BTRFS_QGROUP_STATUS_FLAG_ON, so we can only fail with -EINPROGRESS at btrfs_quota_enable(), which is possible if someone already called the quota rescan ioctl, and therefore started the rescan worker. So fix this by ignoring an -EINPROGRESS and asserting we can't get any other error.

CWE类型:
CWE-362
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
Linux Linux - < c97f6d528c3f1c83a6b792a8a7928c236c80b8fe - cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*
Linux Linux 4.17 - - cpe:2.3:a:linux:linux:4.17:*:*:*:*:*:*:*
linux linux_kernel * - - cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
CVSS评分详情
暂无CVSS评分信息
时间信息
发布时间:
2025-09-18 13:33:01
修改时间:
2025-09-18 13:33:01
创建时间:
2025-11-11 15:37:58
更新时间:
2026-01-15 06:00:23
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2022-50379 2025-11-11 15:21:45 2025-11-11 07:37:58
NVD nvd_CVE-2022-50379 2025-11-11 14:58:37 2025-11-11 07:46:08
CNNVD cnnvd_CNNVD-202509-3005 2025-11-11 15:12:57 2025-11-11 08:00:12
版本与语言
当前版本: v5
主要语言: EN
支持语言:
ZH EN
安全公告
暂无安全公告信息
变更历史
v5 NVD
2026-01-12 02:26:44
affected_products_count: 2 → 3
查看详细变更
  • affected_products_count: 2 -> 3
v4 CVE
2026-01-12 02:08:25
affected_products_count: 1 → 2
查看详细变更
  • affected_products_count: 1 -> 2
v3 CNNVD
2025-11-11 16:00:12
vulnerability_type: 未提取 → 其他; severity: SeverityLevel.MEDIUM → SeverityLevel.UNKNOWN; cvss_score: 未提取 → 0.0; cnnvd_id: 未提取 → CNNVD-202509-3005; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
  • cvss_score: 未提取 -> 0.0
  • cnnvd_id: 未提取 -> CNNVD-202509-3005
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:46:08
affected_products_count: 8 → 1; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 8 -> 1
  • data_sources: ['cve'] -> ['cve', 'nvd']