4e78921ba4dd ("efi/x86/Add missing error handling to old_memmap 1:1 mapping code")
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
* 4e78921ba4dd ("efi/x86/Add missing error handling to old_memmap 1:1 mapping code")
Could the patch be applied in order to v4.19.y?
Tests run:
* Chrome OS tryjob
Thanks,
- Zubin
Quoted 11 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Tests run:
* Chrome OS tryjob
Unless I am missing something, it seems to me that there is some inflation going on when it comes to CVE number assignments.
The code in question only affects systems that are explicitly booted with efi=old_map, and the memory allocation occurs so early during the boot sequence that even if we fail and handle it gracefully, it is highly unlikely that we can get to a point where the system is usable at all.
Does Chrome OS boot in EFI mode? Does it use efi=old_map? Is the kernel built with 5 level paging enabled? Did you run it on 5 level paging hardware?
Or is this just a tick the box exercise?
Also, I am annoyed (does it show? :-)) that nobody mentioned the CVE at any point when the patch was under review (not even privately)
Greg Kroah-Hartman
maintainerQuoted 22 lines · Ard Biesheuvel
Quoted 11 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Tests run:
* Chrome OS tryjobUnless I am missing something, it seems to me that there is some inflation going on when it comes to CVE number assignments.
The code in question only affects systems that are explicitly booted with efi=old_map, and the memory allocation occurs so early during the boot sequence that even if we fail and handle it gracefully, it is highly unlikely that we can get to a point where the system is usable at all.
Quoted 8 lines
Does Chrome OS boot in EFI mode? Does it use efi=old_map? Is the kernel built with 5 level paging enabled? Did you run it on 5 level paging hardware?
Or is this just a tick the box exercise?
Also, I am annoyed (does it show? :-)) that nobody mentioned the CVE at any point when the patch was under review (not even privately)
CVEs are almost always asked for _after_ the patch is merged, as the average fix-to-CVE request timeframe is -100 days.
Also, for the kernel, CVEs almost mean nothing, so if this really isn't an issue, I'll not backport this.
And I really doubt that any chromeos device has 5 level page tables just yet :)
thanks,
greg k-h
Quoted 33 lines · Greg Kroah-Hartman
Quoted 22 lines · Ard Biesheuvel
Quoted 11 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Tests run:
* Chrome OS tryjobUnless I am missing something, it seems to me that there is some inflation going on when it comes to CVE number assignments.
The code in question only affects systems that are explicitly booted with efi=old_map, and the memory allocation occurs so early during the boot sequence that even if we fail and handle it gracefully, it is highly unlikely that we can get to a point where the system is usable at all.
Quoted 8 lines
Does Chrome OS boot in EFI mode? Does it use efi=old_map? Is the kernel built with 5 level paging enabled? Did you run it on 5 level paging hardware?
Or is this just a tick the box exercise?
Also, I am annoyed (does it show? :-)) that nobody mentioned the CVE at any point when the patch was under review (not even privately)
Quoted 9 lines
CVEs are almost always asked for _after_ the patch is merged, as the average fix-to-CVE request timeframe is -100 days.
Also, for the kernel, CVEs almost mean nothing, so if this really isn't an issue, I'll not backport this.
And I really doubt that any chromeos device has 5 level page tables just yet :)
FWIW, Chrome OS kernels are not only used in Chromebooks nowadays. They are also used in VM images in systems with hundreds of GB of memory. At least some of those may well boot in EFI mode. Plus, as also mentioned, we do not (and will not) double-guess CVEs. If anyone has an issue with CVE creation, I would suggest to discuss with the respective bodies, not with us.
Zubin, as mentioned before, please hold back on -stable backport requests for CVE fixes. Please apply CVE fixes to our branches directly instead, per the above guidance ("for the kernel, CVEs almost mean nothing"). I'll revise our policy accordingly. Again, sorry for the trouble.
Thanks,
Guenter
Quoted 3 lines
thanks,
greg k-h
Quoted 42 lines · Guenter Roeck
Quoted 39 lines · Greg Kroah-Hartman
Quoted 22 lines · Ard Biesheuvel
Quoted 11 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Tests run:
* Chrome OS tryjobUnless I am missing something, it seems to me that there is some inflation going on when it comes to CVE number assignments.
The code in question only affects systems that are explicitly booted with efi=old_map, and the memory allocation occurs so early during the boot sequence that even if we fail and handle it gracefully, it is highly unlikely that we can get to a point where the system is usable at all.
Quoted 8 lines
Does Chrome OS boot in EFI mode? Does it use efi=old_map? Is the kernel built with 5 level paging enabled? Did you run it on 5 level paging hardware?
Or is this just a tick the box exercise?
Also, I am annoyed (does it show? :-)) that nobody mentioned the CVE at any point when the patch was under review (not even privately)
CVEs are almost always asked for _after_ the patch is merged, as the average fix-to-CVE request timeframe is -100 days.
Also, for the kernel, CVEs almost mean nothing, so if this really isn't an issue, I'll not backport this.
Quoted 7 lines
Quoted 3 lines
And I really doubt that any chromeos device has 5 level page tables just yet :)
FWIW, Chrome OS kernels are not only used in Chromebooks nowadays. They are also used in VM images in systems with hundreds of GB of memory. At least some of those may well boot in EFI mode.
Yes, but why would you boot those with efi=old_map, which is an option that is only there for compatibility with old and non-standard EFI implementations.
Quoted 5 lines
Plus, as
also mentioned, we do not (and will not) double-guess CVEs. If anyone has an issue with CVE creation, I would suggest to discuss with the respective bodies, not with us.
Fair enough.
Quoted 6 lines
Zubin, as mentioned before, please hold back on -stable backport requests for CVE fixes. Please apply CVE fixes to our branches directly instead, per the above guidance ("for the kernel, CVEs almost mean nothing"). I'll revise our policy accordingly. Again, sorry for the trouble.
No trouble at all, and apologies for the grumpy tone.
In this particular case, the CVE is highly dubious (imo), since not every bug is a vulnerability, and this bug is very difficult to hit even on systems which make use of efi=old_map. While that also reduces the risk of regressions, pulling this bug into a stable release requires justification, and sadly, given the apparent policy issues with assigning CVE numbers, the fact that the patch addresses a CVE is not sufficient.
Greg Kroah-Hartman
maintainerQuoted 45 lines · Guenter Roeck
Quoted 33 lines · Greg Kroah-Hartman
Quoted 22 lines · Ard Biesheuvel
Quoted 11 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Tests run:
* Chrome OS tryjobUnless I am missing something, it seems to me that there is some inflation going on when it comes to CVE number assignments.
The code in question only affects systems that are explicitly booted with efi=old_map, and the memory allocation occurs so early during the boot sequence that even if we fail and handle it gracefully, it is highly unlikely that we can get to a point where the system is usable at all.
Quoted 8 lines
Does Chrome OS boot in EFI mode? Does it use efi=old_map? Is the kernel built with 5 level paging enabled? Did you run it on 5 level paging hardware?
Or is this just a tick the box exercise?
Also, I am annoyed (does it show? :-)) that nobody mentioned the CVE at any point when the patch was under review (not even privately)
Quoted 9 lines
CVEs are almost always asked for _after_ the patch is merged, as the average fix-to-CVE request timeframe is -100 days.
Also, for the kernel, CVEs almost mean nothing, so if this really isn't an issue, I'll not backport this.
And I really doubt that any chromeos device has 5 level page tables just yet :)
Quoted 6 lines
FWIW, Chrome OS kernels are not only used in Chromebooks nowadays. They are also used in VM images in systems with hundreds of GB of memory. At least some of those may well boot in EFI mode. Plus, as also mentioned, we do not (and will not) double-guess CVEs. If anyone has an issue with CVE creation, I would suggest to discuss with the respective bodies, not with us.
I have discussed it with the respective bodies and they agree that the CVEs for kernel issues are a total joke. The only way it can "be fixed" is to burn it all down and create something new. Some of us have some plans for doing that, but it's on the back-burner due to "real world" work to get done at this moment.
Again, like I said in the other email, treat CVE tags as a flag that you might want to look at the patch. But not as a "this must be applied!" type of rule at all.
If this fix is needed for your systems, great, I'll be glad to queue it up, Ard was just asking for confirmation about this resolving a real issue for you or not.
Quoted 5 lines
Zubin, as mentioned before, please hold back on -stable backport requests for CVE fixes. Please apply CVE fixes to our branches directly instead, per the above guidance ("for the kernel, CVEs almost mean nothing"). I'll revise our policy accordingly. Again, sorry for the trouble.
Again, don't take your toys and go away. The backport requests you all have been asking for are great, and hopefully saves you time in the end by having the fix upstream and re-reviewed by everyone. It also benifits all of the non-Chromeos systems in the world, of which I know Google relies on a lot of them, so you are doing work that the rest of your company appreciates.
If someone asks "does this really resolve an issue for you", answer the reasonable question :)
thanks,
greg k-h
Greg KH
maintainerQuoted 6 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Now queued up, thanks.
greg k-h
Quoted 11 lines · Greg KH
Quoted 6 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Now queued up, thanks.
Given the discussion leading up to this, I'm slightly surprised.
As I alluded to in my questions to Zubin, I am concerned that the testing carried out on this patch has too little coverage, given that
a) Chrome OS apparently does not boot in EFI mode
b) therefore, Chrome OS there does not use efi=old_map
c) Chrome OS hardware does not implement 5 level paging
I have done all the testing I could before merging the patch, but I would prefer to defer from backporting it until it hits a release. I know some people argue that this still does not provide sufficient coverage, but those are usually not the same people getting emails when their EFI systems no longer boot without any output whatsoever after upgrading from one stable kernel version to the next.
Greg KH
maintainerQuoted 21 lines · Ard Biesheuvel
Quoted 11 lines · Greg KH
Quoted 6 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Now queued up, thanks.
Given the discussion leading up to this, I'm slightly surprised.
As I alluded to in my questions to Zubin, I am concerned that the testing carried out on this patch has too little coverage, given that
a) Chrome OS apparently does not boot in EFI mode
b) therefore, Chrome OS there does not use efi=old_map
c) Chrome OS hardware does not implement 5 level paging
Quoted 6 lines
I have done all the testing I could before merging the patch, but I would prefer to defer from backporting it until it hits a release. I know some people argue that this still does not provide sufficient coverage, but those are usually not the same people getting emails when their EFI systems no longer boot without any output whatsoever after upgrading from one stable kernel version to the next.
Ok, I'll go drop it. Can you please email stable@vger when it is in a release so that I know to queue it up then?
thanks,
greg k-h
Quoted 30 lines · Greg KH
Quoted 21 lines · Ard Biesheuvel
Quoted 11 lines · Greg KH
Quoted 6 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Now queued up, thanks.
Given the discussion leading up to this, I'm slightly surprised.
As I alluded to in my questions to Zubin, I am concerned that the testing carried out on this patch has too little coverage, given that
a) Chrome OS apparently does not boot in EFI mode
b) therefore, Chrome OS there does not use efi=old_map
c) Chrome OS hardware does not implement 5 level pagingQuoted 6 lines
I have done all the testing I could before merging the patch, but I would prefer to defer from backporting it until it hits a release. I know some people argue that this still does not provide sufficient coverage, but those are usually not the same people getting emails when their EFI systems no longer boot without any output whatsoever after upgrading from one stable kernel version to the next.
Quoted 3 lines
Ok, I'll go drop it. Can you please email stable@vger when it is in a release so that I know to queue it up then?
OK, thanks
Quoted 13 lines · Ard Biesheuvel
Quoted 11 lines · Greg KH
Quoted 6 lines · Zubin Mithra
Hello,
CVE-2019-12380 was fixed in the upstream linux kernel with the commit :-
*4e78921ba4dd("efi/x86/Add missing error handling toold_memmap1:1 mapping code")Could the patch be applied in order to v4.19.y?
Now queued up, thanks.
Quoted 7 lines
Given the discussion leading up to this, I'm slightly surprised.
As I alluded to in my questions to Zubin, I am concerned that the testing carried out on this patch has too little coverage, given that
a) Chrome OS apparently does not boot in EFI mode
b) therefore, Chrome OS there does not use efi=old_map
c) Chrome OS hardware does not implement 5 level paging
I see, yes, I have not done appropriate testing on this patch. Sorry about the mistake and the confusion! I'll keep in mind to do more appropriate testing from the next patch onwards.
Thanks,
- Zubin
Quoted 7 lines
I have done all the testing I could before merging the patch, but I would prefer to defer from backporting it until it hits a release. I know some people argue that this still does not provide sufficient coverage, but those are usually not the same people getting emails when their EFI systems no longer boot without any output whatsoever after upgrading from one stable kernel version to the next.