Linux Kernel up to 5.17.3 da850_evm_config_emac null pointer dereference

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in Linux Kernel up to 5.17.3. This issue affects the function da850_evm_config_emac. The manipulation results in null pointer dereference.
This vulnerability is reported as CVE-2021-47631. No exploit exists.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Linux Kernel up to 5.17.3. It has been classified as critical. Affected is the function da850_evm_config_emac. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability. CVE summarizes:
In the Linux kernel, the following vulnerability has been resolved: ARM: davinci: da850-evm: Avoid NULL pointer dereference With newer versions of GCC, there is a panic in da850_evm_config_emac() when booting multi_v5_defconfig in QEMU under the palmetto-bmc machine: Unable to handle kernel NULL pointer dereference at virtual address 00000020 pgd = (ptrval) [00000020] *pgd=00000000 Internal error: Oops: 5 [#1] PREEMPT ARM Modules linked in: CPU: 0 PID: 1 Comm: swapper Not tainted 5.15.0 #1 Hardware name: Generic DT based system PC is at da850_evm_config_emac+0x1c/0x120 LR is at do_one_initcall+0x50/0x1e0 The emac_pdata pointer in soc_info is NULL because davinci_soc_info only gets populated on davinci machines but da850_evm_config_emac() is called on all machines via device_initcall(). Move the rmii_en assignment below the machine check so that it is only dereferenced when running on a supported SoC.
The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2021-47631 since 02/26/2025. The exploitability is told to be difficult. There are known technical details, but no exploit is available.
Upgrading to version 4.9.311, 4.14.276, 4.19.239, 5.4.190, 5.10.112, 5.15.35 or 5.17.4 eliminates this vulnerability. Applying the patch c06f476e5b74bcabb8c4a2fba55864a37e62843b/a12b356d45cbb6e8a1b718d1436b3d6239a862f3/c64e2ed5cc376e137e572babfd2edc38b2cfb61b/89931d4762572aaee6edbe5673d41f8082de110f/0a312ec66a03133d28570f07bc52749ccfef54da/0940795c6834fbe7705acc5c3d4b2f7a5f67527a/c5628533a3ece64235d04fe11ec44d2be99e423d/83a1cde5c74bfb44b49cb2a940d044bb2380f4ea is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
- 4.9.310
- 4.14.275
- 4.19.238
- 5.4.189
- 5.10.111
- 5.15.0
- 5.15.1
- 5.15.2
- 5.15.3
- 5.15.4
- 5.15.5
- 5.15.6
- 5.15.7
- 5.15.8
- 5.15.9
- 5.15.10
- 5.15.11
- 5.15.12
- 5.15.13
- 5.15.14
- 5.15.15
- 5.15.16
- 5.15.17
- 5.15.18
- 5.15.19
- 5.15.20
- 5.15.21
- 5.15.22
- 5.15.23
- 5.15.24
- 5.15.25
- 5.15.26
- 5.15.27
- 5.15.28
- 5.15.29
- 5.15.30
- 5.15.31
- 5.15.32
- 5.15.33
- 5.15.34
- 5.17.0
- 5.17.1
- 5.17.2
- 5.17.3
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.1VulDB Meta Temp Score: 5.0
VulDB Base Score: 4.8
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 4.9.311/4.14.276/4.19.239/5.4.190/5.10.112/5.15.35/5.17.4
Patch: c06f476e5b74bcabb8c4a2fba55864a37e62843b/a12b356d45cbb6e8a1b718d1436b3d6239a862f3/c64e2ed5cc376e137e572babfd2edc38b2cfb61b/89931d4762572aaee6edbe5673d41f8082de110f/0a312ec66a03133d28570f07bc52749ccfef54da/0940795c6834fbe7705acc5c3d4b2f7a5f67527a/c5628533a3ece64235d04fe11ec44d2be99e423d/83a1cde5c74bfb44b49cb2a940d044bb2380f4ea
Timeline
02/26/2025 🔍02/26/2025 🔍
02/26/2025 🔍
03/19/2025 🔍
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2021-47631 (🔍)
GCVE (CVE): GCVE-0-2021-47631
GCVE (VulDB): GCVE-100-297312
Entry
Created: 02/26/2025 11:08Updated: 03/19/2025 04:25
Changes: 02/26/2025 11:08 (58), 03/19/2025 04:25 (12)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.