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

[v3.7] Crash if enabling v4-mapping-to-v6 and DHCPv4 #76360

Closed
jukkar opened this issue Jul 27, 2024 · 0 comments
Closed

[v3.7] Crash if enabling v4-mapping-to-v6 and DHCPv4 #76360

jukkar opened this issue Jul 27, 2024 · 0 comments
Assignees
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Milestone

Comments

@jukkar
Copy link
Member

jukkar commented Jul 27, 2024

If user enables CONFIG_NET_IPV4_MAPPING_TO_IPV6 and CONFIG_NET_DHCPV4 at the same time, then net_dhcpv4_init() will call net_udp_register() with NULL net_context pointer. This in turn will cause a NULL pointer access when checking V6ONLY socket option.

@jukkar jukkar added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug labels Jul 27, 2024
@jukkar jukkar added this to the v3.7.1 milestone Jul 27, 2024
@carlescufi carlescufi changed the title Crash if enabling v4-mapping-to-v6 and DHCPv4 [v3.7] Crash if enabling v4-mapping-to-v6 and DHCPv4 Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants