VirtualBox

Ticket #9265 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Setting NAT network to one with a mask that's >= 28 bits (e.g. /28) causes segfault in VBoxDD.so => Fixed in SVN

Reported by: Skaffen Owned by:
Priority: minor Component: network/NAT
Version: VirtualBox 4.1.0 Keywords:
Cc: Guest type: Linux
Host type: other

Description

I'm setting up a test environment to test a pfsense firewall configuration and one of the networks has a netmask of /28 - I did a quick test and up to /27 is fine, but any number greater and it crashes.

E.g. if I do:

VBoxManage modifyvm "PFSenseTest" --natnet1 "192.0.2.0/28"

The virtual machine fails to start and I see on the console e.g.:

[1369291.312959] VirtualBox[3275]: segfault at 44 ip 00007f5ba36a2f84 sp 00007f5ba5c8c680 error 4 in VBoxDD.so[7f5ba35c9000+223000]

If I used /27 instead then everything starts up ok.

I see from looking at  http://www.virtualbox.org/manual/ch09.html#changenat that the host is allocated what looks like +15 from the network address, which in this case of /27 would be the broadcast address - that may be unrelated to the crash, but I figured it an observation worth making.

Change History

comment:1 Changed 3 years ago by frank

  • Summary changed from Setting NAT network to one with a mask that's >= 28 bits (e.g. /28) causes segfault in VBoxDD.so to Setting NAT network to one with a mask that's >= 28 bits (e.g. /28) causes segfault in VBoxDD.so => Fixed in SVN

Thanks for the report. This problem will be fixed in the next maintenance release.

comment:2 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix included in VBox 4.1.2 and later.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use