CVE-2025-40022 (CNNVD-202510-3413)
中文标题:
Linux kernel 安全漏洞
英文标题:
crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
漏洞描述
中文描述:
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于af_alg_ctx结构中布尔值使用不当,可能导致数据转换错误。
英文描述:
In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Fix incorrect boolean values in af_alg_ctx Commit 1b34cbbf4f01 ("crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg") changed some fields from bool to 1-bit bitfields of type u32. However, some assignments to these fields, specifically 'more' and 'merge', assign values greater than 1. These relied on C's implicit conversion to bool, such that zero becomes false and nonzero becomes true. With a 1-bit bitfields of type u32 instead, mod 2 of the value is taken instead, resulting in 0 being assigned in some cases when 1 was intended. Fix this by restoring the bool type.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Linux | Linux | - | < 3a21698ace915a445bce2d0dcfc84b6d2199baf7 | - |
cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-40022 |
2025-11-11 15:23:20 | 2025-11-11 07:40:29 |
| NVD | nvd_CVE-2025-40022 |
2025-11-11 15:01:07 | 2025-11-11 07:48:18 |
| CNNVD | cnnvd_CNNVD-202510-3413 |
2025-11-11 15:13:00 | 2025-11-11 08:00:19 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
- cvss_score: 未提取 -> 0.0
- cnnvd_id: 未提取 -> CNNVD-202510-3413
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 11 -> 1
- data_sources: ['cve'] -> ['cve', 'nvd']