Skip to contentSkip to conversation

Support status of OpenBSD frontend drivers

DISCUSSION Demi Marie Obenour 3 participants 6 messages Mar 24, 2022 – Mar 25, 2022

lore
Share & tools
lore
#0 lore raw

As per private discussion with Theo de Raadt, OpenBSD does not consider bugs in its xnf(4) that allow a backend to cause mischief to be security issues. I believe the same applies to its xbf(4). Should the support document be updated?

Signature · 3 lines
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
#1 lore raw
Quoted 4 lines · Demi Marie Obenour

As per private discussion with Theo de Raadt, OpenBSD does not consider bugs in its xnf(4) that allow a backend to cause mischief to be security issues. I believe the same applies to its xbf(4). Should the support document be updated?

I think that's already reflected in the support document:

'Status, OpenBSD: Supported, Security support external'

Since the security support is external it's my understanding OpenBSD security team gets to decide what's a security issue and what is not.

That however creates differences in the level of support offered by the different OSes, but I think that's unavoidable. It's also hard to track the status here because those are external components in separate code bases.

Could be added as a mention together with the Windows note about frontends trusting backends, but then I would fear this is likely to get out of sync if OpenBSD ever changes their frontends to support untrusted backends (even if not considered as a security issue).

Thanks, Roger.

#2 lore raw
Quoted 18 lines · Roger Pau Monné
Quoted 4 lines · Demi Marie Obenour

As per private discussion with Theo de Raadt, OpenBSD does not consider bugs in its xnf(4) that allow a backend to cause mischief to be security issues. I believe the same applies to its xbf(4). Should the support document be updated?

I think that's already reflected in the support document:

'Status, OpenBSD: Supported, Security support external'

Since the security support is external it's my understanding OpenBSD security team gets to decide what's a security issue and what is not.

That however creates differences in the level of support offered by the different OSes, but I think that's unavoidable. It's also hard to track the status here because those are external components in separate code bases.

Quoted 4 lines

Could be added as a mention together with the Windows note about frontends trusting backends, but then I would fear this is likely to get out of sync if OpenBSD ever changes their frontends to support untrusted backends (even if not considered as a security issue).

As a Qubes OS developer, I still think this is useful information and should be documented. For instance, if I choose to add proper OpenBSD guest support to Qubes OS (as opposed to the current “you can run anything in an HVM” situation), I might decide to have OpenBSD guests use devices emulated by a Linux-based stubdomain, since the stubdomain’s netfront and blkfront drivers *are* security-supported against malicious backends. I might also choose to have a warning in the GUI when switching the NetVM of an OpenBSD guest to something other than the empty string (meaning no network access) or the (normally fairly trusted) sys-firewall or sys-whonix qubes.

Signature · 3 lines
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
#3 lore raw
Quoted 24 lines · Demi Marie Obenour
Quoted 18 lines · Roger Pau Monné
Quoted 4 lines · Demi Marie Obenour

As per private discussion with Theo de Raadt, OpenBSD does not consider bugs in its xnf(4) that allow a backend to cause mischief to be security issues. I believe the same applies to its xbf(4). Should the support document be updated?

I think that's already reflected in the support document:

'Status, OpenBSD: Supported, Security support external'

Since the security support is external it's my understanding OpenBSD security team gets to decide what's a security issue and what is not.

That however creates differences in the level of support offered by the different OSes, but I think that's unavoidable. It's also hard to track the status here because those are external components in separate code bases.

Quoted 4 lines

Could be added as a mention together with the Windows note about frontends trusting backends, but then I would fear this is likely to get out of sync if OpenBSD ever changes their frontends to support untrusted backends (even if not considered as a security issue).

Quoted 10 lines

As a Qubes OS developer, I still think this is useful information and should be documented. For instance, if I choose to add proper OpenBSD guest support to Qubes OS (as opposed to the current “you can run anything in an HVM” situation), I might decide to have OpenBSD guests use devices emulated by a Linux-based stubdomain, since the stubdomain’s netfront and blkfront drivers *are* security-supported against malicious backends. I might also choose to have a warning in the GUI when switching the NetVM of an OpenBSD guest to something other than the empty string (meaning no network access) or the (normally fairly trusted) sys-firewall or sys-whonix qubes.

I'm with Roger on this - when security support is external, such information in xen.git could easily become stale. If anything, there could be a link to OpenBSD security status info, maintained by whoever such support provides.

Signature · 3 lines
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
#4 lore raw
Quoted 36 lines · Marek Marczykowski-Górecki
Quoted 24 lines · Demi Marie Obenour
Quoted 18 lines · Roger Pau Monné
Quoted 4 lines · Demi Marie Obenour

As per private discussion with Theo de Raadt, OpenBSD does not consider bugs in its xnf(4) that allow a backend to cause mischief to be security issues. I believe the same applies to its xbf(4). Should the support document be updated?

I think that's already reflected in the support document:

'Status, OpenBSD: Supported, Security support external'

Since the security support is external it's my understanding OpenBSD security team gets to decide what's a security issue and what is not.

That however creates differences in the level of support offered by the different OSes, but I think that's unavoidable. It's also hard to track the status here because those are external components in separate code bases.

Quoted 4 lines

Could be added as a mention together with the Windows note about frontends trusting backends, but then I would fear this is likely to get out of sync if OpenBSD ever changes their frontends to support untrusted backends (even if not considered as a security issue).

Quoted 10 lines

As a Qubes OS developer, I still think this is useful information and should be documented. For instance, if I choose to add proper OpenBSD guest support to Qubes OS (as opposed to the current “you can run anything in an HVM” situation), I might decide to have OpenBSD guests use devices emulated by a Linux-based stubdomain, since the stubdomain’s netfront and blkfront drivers *are* security-supported against malicious backends. I might also choose to have a warning in the GUI when switching the NetVM of an OpenBSD guest to something other than the empty string (meaning no network access) or the (normally fairly trusted) sys-firewall or sys-whonix qubes.

Quoted 4 lines

I'm with Roger on this - when security support is external, such information in xen.git could easily become stale. If anything, there could be a link to OpenBSD security status info, maintained by whoever such support provides.

This ought to be on https://man.openbsd.org/xnf.4 and
https://man.openbsd.org/xbf.4, but it is not. Should I send a patch?

Signature · 3 lines
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
#5 lore raw
Quoted 37 lines · Demi Marie Obenour
Quoted 36 lines · Marek Marczykowski-Górecki
Quoted 34 lines · Demi Marie Obenour
Quoted 18 lines · Roger Pau Monné
Quoted 4 lines · Demi Marie Obenour

As per private discussion with Theo de Raadt, OpenBSD does not consider bugs in its xnf(4) that allow a backend to cause mischief to be security issues. I believe the same applies to its xbf(4). Should the support document be updated?

I think that's already reflected in the support document:

'Status, OpenBSD: Supported, Security support external'

Since the security support is external it's my understanding OpenBSD security team gets to decide what's a security issue and what is not.

That however creates differences in the level of support offered by the different OSes, but I think that's unavoidable. It's also hard to track the status here because those are external components in separate code bases.

Quoted 4 lines

Could be added as a mention together with the Windows note about frontends trusting backends, but then I would fear this is likely to get out of sync if OpenBSD ever changes their frontends to support untrusted backends (even if not considered as a security issue).

As a Qubes OS developer, I still think this is useful information and should be documented. For instance, if I choose to add proper OpenBSD guest support to Qubes OS (as opposed to the current “you can run anything in an HVM” situation), I might decide to have OpenBSD guests use devices emulated by a Linux-based stubdomain, since the stubdomain’s netfront and blkfront drivers *are* security-supported against malicious backends. I might also choose to have a warning in the GUI when switching the NetVM of an OpenBSD guest to something other than the empty string (meaning no network access) or the (normally fairly trusted) sys-firewall or sys-whonix qubes.

Quoted 7 lines
Quoted 4 lines

I'm with Roger on this - when security support is external, such information in xen.git could easily become stale. If anything, there could be a link to OpenBSD security status info, maintained by whoever such support provides.

This ought to be on https://man.openbsd.org/xnf.4 and
https://man.openbsd.org/xbf.4, but it is not. Should I send a patch?

You should discuss with the OpenBSD people I think, I really have no idea where those limitations should be listed. Introducing a man page 'Caveats' or 'Limitations' sections would seem suitable to me, but it's ultimately up to them.

Thanks, Roger.