Linux-HyperV Archive on
 help / color / Atom feed
From: Andres Beltran <>
To: Stephen Hemminger <>
Cc: KY Srinivasan <>,
	Haiyang Zhang <>,
	Wei Liu <>,,,
	Michael Kelley <>,
	Andrea Parri <>,
	Saruhan Karademir <>
Subject: Re: [PATCH] hv_utils: Add validation for untrusted Hyper-V values
Date: Wed, 29 Jul 2020 12:10:17 -0400
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, Jul 28, 2020 at 5:04 PM Stephen Hemminger
<> wrote:
> You may want to use one of the macros that prints this once only.
> This is a "should never happen" type error, so if something goes wrong it might happens so much that journal/syslog would get overloaded.

Certainly, printing error messages once would be ideal if we were only
dealing with Linux kernel bugs. But under the assumption that Hyper-V
can send bogus values at any time, I think it would be better to print
error messages every time so that we are aware of malicious/erroneous
data sent by the host.

  parent reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 20:44 Andres Beltran
     [not found] ` <>
2020-07-29 16:10   ` Andres Beltran [this message]
2020-07-29 16:22     ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-HyperV Archive on

Archives are clonable:
	git clone --mirror linux-hyperv/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hyperv linux-hyperv/ \
	public-inbox-index linux-hyperv

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone