Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug check in timer management routines #70

Merged
merged 1 commit into from
May 23, 2024

Conversation

lstipakov
Copy link
Member

Commit b750b2c ("timer: refactor timers implementation") has changed timer initialization logic and introduced a bug, where calling SET_PEER ioctl after failed NEW_PEER ioctl causes WDF_VIOLATION bug check, because we try to get a context of a WDF object which is NULL.

Fix by adding NULL checks.

Note that this is not expected to happen with openvpn as a driver client.

CVE: 2024-5198

Reported-By: Lukas Jokubauskas lukas.jokubauskas@nordsec.com

Commit b750b2c ("timer: refactor timers implementation")
has changed timer initialization logic and introduced a bug,
where calling SET_PEER ioctl after failed NEW_PEER ioctl
causes WDF_VIOLATION bug check, because we try to get a context
of a WDF object which is NULL.

Fix by adding NULL checks.

Note that this is not expected to happen with openvpn as a
driver client.

CVE: 2024-5198

Reported-By: Lukas Jokubauskas <lukas.jokubauskas@nordsec.com>
Signed-off-by: Lev Stipakov <lev@openvpn.net>
@lstipakov lstipakov merged commit ed455c4 into OpenVPN:release/1 May 23, 2024
12 checks passed
@lstipakov lstipakov deleted the fix-null-timer branch May 23, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants