# ALBA-2021:4300: mdevctl bug fix update

> The mdevctl utility in AlmaLinux's Linux kernel has a bug fix update; AlmaLinux users should update.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not stated
- **Attackable:** Local or same network only
- **Victim action needed:** Not stated
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 9 Nov 2021

## What is ALBA-2021:4300?

ALBA-2021:4300 is an other vulnerability in mdevctl, published on 9 Nov 2021. It can only be exploited from the same machine or local network.

### Official description

The mdevctl package provides a utility for managing and persisting devices in the mediated device framework of the Linux kernel.

## Which versions are affected by ALBA-2021:4300?

An affected version is exposed as installed. No special setting or call is needed.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `mdevctl` | AlmaLinux:8 | All versions | 0.81-1.el8 |

## How do I fix ALBA-2021:4300?

Upgrade to a fixed version.

## Is ALBA-2021:4300 being exploited?

There is no known exploitation of ALBA-2021:4300 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for ALBA-2021:4300 and fix it if it is affected.

What it is: ALBA-2021:4300 is an other vulnerability in mdevctl, published on 9 Nov 2021. It can only be exploited from the same machine or local network.
Exploitation: There is no known exploitation of ALBA-2021:4300 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: mdevctl. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/ALBA-2021-4300/ (Markdown: https://insights.sbomify.com/ALBA-2021-4300/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/ALBA-2021:4300

---
From sbomify Insights: https://insights.sbomify.com/ALBA-2021-4300/
Summaries are generated and may contain mistakes; the official description above is the record.
