[nlug] Memory/resource leak in Android 10

2021-04-24 Thread John F. Eldredge
When I first moved into my apartment, I was relying on an open WiFi hotspot
elsewhere in the building. The signal was weak after passing through the
concrete floor, and it was common to lose my connection for a few seconds.
I was also having to reboot my phone, a Motorola One Action running Android
10, several times per day because it would stop being able to connect to
the WiFi.

Now that I am using a router in my apartment, I am only having to restart
my phone every couple of days. Apparently there is a memory leak or
resource leak every time the WiFi connection is lost and has to be
reestablished.

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAJfAAYK-rFLOY8a6ez7CbVgEFEouKBHJAedRL14kGR%3D9-3i5FA%40mail.gmail.com.


[nlug] University of Minnesota banned from contributing to Linux kernel

2021-04-24 Thread John F. Eldredge
Two researchers at the University of Minnesota have admitted they
deliberately introduced security flaws into the Linux kernel, in order to
determine how effective the review process is. As a result, all code
changes originating from the university have been rolled back and are being
re-reviewed, and no one using a University of Minnesota email address will
be allowed to submit kernel changes. Apparently the flaws the researchers
introduced are now in use on production systems worldwide.

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAJfAAY%2BFfNnoW8OJnf_ypyoXPfj-RPaJo-495EqY7cXYCsaQtw%40mail.gmail.com.


Re: [nlug] University of Minnesota banned from contributing to Linux kernel

2021-04-24 Thread Kent Perrier
That isn't true (flaws now in use on production systems). If you read their
paper
,
once the maintainer said "ok, looks good" they told the maintainer of the
issue with the code and not to use it. (Section VI A "Ethical
Considerations").

Now that may be going through ALL of the code submissions from UMN and
ripping it all out and replacing it, but in *this* case security issues
were not introduced into the kernel.




On Sat, Apr 24, 2021 at 9:07 AM John F. Eldredge 
wrote:

> Two researchers at the University of Minnesota have admitted they
> deliberately introduced security flaws into the Linux kernel, in order to
> determine how effective the review process is. As a result, all code
> changes originating from the university have been rolled back and are being
> re-reviewed, and no one using a University of Minnesota email address will
> be allowed to submit kernel changes. Apparently the flaws the researchers
> introduced are now in use on production systems worldwide.
>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CAJfAAY%2BFfNnoW8OJnf_ypyoXPfj-RPaJo-495EqY7cXYCsaQtw%40mail.gmail.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CA%2B6_KC-PmYdPPuReM3tyG-Ga7OXJsiRGbKEhVgVCWch6649uLQ%40mail.gmail.com.


Re: [nlug] University of Minnesota banned from contributing to Linux kernel

2021-04-24 Thread Csaba Toth
GKH (Greg Kroah-Hartman) got pissed off pretty much. Here is a ZDNet
article about it
https://www.zdnet.com/google-amp/article/greg-kroah-hartman-bans-university-of-minnesota-from-linux-development-for-deliberately-buggy-patches/
This patch quoted in the article
https://lore.kernel.org/linux-nfs/yh5%2fi7ovsjsmq...@kroah.com/ kinda looks
unnecessary (in case we assume gss_release_msg is perfect, who knows what
side effects it has...), but...

I know some very prominent security guys (Pipacs https://twitter.com/paxteam
and Brad Spengler from GRSecurity https://twitter.com/spendergrsec).
Please read Brad's last 5-6 Tweets and references
https://twitter.com/spendergrsec


On Sat, Apr 24, 2021 at 9:13 AM Kent Perrier  wrote:

> That isn't true (flaws now in use on production systems). If you read
> their paper
> ,
> once the maintainer said "ok, looks good" they told the maintainer of the
> issue with the code and not to use it. (Section VI A "Ethical
> Considerations").
>
> Now that may be going through ALL of the code submissions from UMN and
> ripping it all out and replacing it, but in *this* case security issues
> were not introduced into the kernel.
>
>
>
>
> On Sat, Apr 24, 2021 at 9:07 AM John F. Eldredge 
> wrote:
>
>> Two researchers at the University of Minnesota have admitted they
>> deliberately introduced security flaws into the Linux kernel, in order to
>> determine how effective the review process is. As a result, all code
>> changes originating from the university have been rolled back and are being
>> re-reviewed, and no one using a University of Minnesota email address will
>> be allowed to submit kernel changes. Apparently the flaws the researchers
>> introduced are now in use on production systems worldwide.
>>
>> --
>> --
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To post to this group, send email to nlug-talk@googlegroups.com
>> To unsubscribe from this group, send email to
>> nlug-talk+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nlug-talk?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nlug-talk+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/nlug-talk/CAJfAAY%2BFfNnoW8OJnf_ypyoXPfj-RPaJo-495EqY7cXYCsaQtw%40mail.gmail.com
>> 
>> .
>>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CA%2B6_KC-PmYdPPuReM3tyG-Ga7OXJsiRGbKEhVgVCWch6649uLQ%40mail.gmail.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CA%2BKhHxLuiH3fDfkormfwUMWZrGACCh9aKtnK35NAVf5fUxF6Mg%40mail.gmail.com.


Re: [nlug] Memory/resource leak in Android 10

2021-04-24 Thread Csaba Toth
Interesting! Is this a suspicion, or do you have any references to the said
memory leak?
The only thing I noticed in my case is that sometimes my phone doesn't pick
up mobile data reception or LTE towers. I suspect that it has to do with my
phone provider which is Google Fi, and it uses T-Mobile as an MVNO. I
usually put the phone into airplane mode, wait a few seconds and then take
it out of airplane mode. That shuts down mobile data, wifi, bluetooth and
turns them back on. I assume it also unloads and reloads kernel modules and
thus resets subsystems. I'd try that in your case as well, because it might
be enough to release resources kept in memory by some part of the wifi
subsystem.
I must add that my phone is a OnePlus 6, which is partially supported by
Google Fi and is not able to use Sprint or US Cellular or other CDMA MVNOs
of Google Fi. I got a Pixel 3 for my wife and it's much smoother sailing
with that: sometimes I check and where I have LTE blackouts she usually has
LTE probably through those CDMA providers' towers (I know LTE is not CDMA,
but those towers are separate).

Bonus question: is your phone updated to latest? Who is your provider?
Motorola in my mind is still less bloatware than Samsung or certain other
phones...
What router do you use in your apartment? Free wifi is sweet, in your case
I'd possibly try to set up a pair of wifi APs: one to pick up a steady
signal (with some boosted antennas) from the free AP and other to provide
the wifi for you. Maybe it's doable even with one AP if you can separate
the radios and you use OpenWRT or some capable ROMs.

Cheers!

On Sat, Apr 24, 2021 at 5:09 AM John F. Eldredge 
wrote:

> When I first moved into my apartment, I was relying on an open WiFi
> hotspot elsewhere in the building. The signal was weak after passing
> through the concrete floor, and it was common to lose my connection for a
> few seconds. I was also having to reboot my phone, a Motorola One Action
> running Android 10, several times per day because it would stop being able
> to connect to the WiFi.
>
> Now that I am using a router in my apartment, I am only having to restart
> my phone every couple of days. Apparently there is a memory leak or
> resource leak every time the WiFi connection is lost and has to be
> reestablished.
>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CAJfAAYK-rFLOY8a6ez7CbVgEFEouKBHJAedRL14kGR%3D9-3i5FA%40mail.gmail.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CA%2BKhHx%2B-0Y6YE6Vs81jEZjeYKe%2B5_ZP9FfbiBAtru9ZC4DBzFw%40mail.gmail.com.


Re: [nlug] Memory/resource leak in Android 10

2021-04-24 Thread John F. Eldredge
No references, but the fact that the need to reboot went down sharply once
I was using a stronger connection makes me suspect the bug is in the WiFi
code. Cycling airplane mode on and off sometimes cleared the problem, but
not always. My phone is a Motorola One Action, connecting to Verizon, and
running the latest Android firmware (the most recent security update was a
few days ago. If the bug is in the device driver, it might be
Motorola-specific. If the bug is in the kernel, it may be more widespread.

I am now connecting to a Comcast router. I don't know what hardware the
free WiFi is using, but it is one floor down in a high-rise, likely meaning
reinforced concrete floors.

On Sat, Apr 24, 2021, 11:45 AM Csaba Toth  wrote:

> Interesting! Is this a suspicion, or do you have any references to the
> said memory leak?
> The only thing I noticed in my case is that sometimes my phone doesn't
> pick up mobile data reception or LTE towers. I suspect that it has to do
> with my phone provider which is Google Fi, and it uses T-Mobile as an MVNO.
> I usually put the phone into airplane mode, wait a few seconds and then
> take it out of airplane mode. That shuts down mobile data, wifi, bluetooth
> and turns them back on. I assume it also unloads and reloads kernel modules
> and thus resets subsystems. I'd try that in your case as well, because it
> might be enough to release resources kept in memory by some part of the
> wifi subsystem.
> I must add that my phone is a OnePlus 6, which is partially supported by
> Google Fi and is not able to use Sprint or US Cellular or other CDMA MVNOs
> of Google Fi. I got a Pixel 3 for my wife and it's much smoother sailing
> with that: sometimes I check and where I have LTE blackouts she usually has
> LTE probably through those CDMA providers' towers (I know LTE is not CDMA,
> but those towers are separate).
>
> Bonus question: is your phone updated to latest? Who is your provider?
> Motorola in my mind is still less bloatware than Samsung or certain other
> phones...
> What router do you use in your apartment? Free wifi is sweet, in your case
> I'd possibly try to set up a pair of wifi APs: one to pick up a steady
> signal (with some boosted antennas) from the free AP and other to provide
> the wifi for you. Maybe it's doable even with one AP if you can separate
> the radios and you use OpenWRT or some capable ROMs.
>
> Cheers!
>
> On Sat, Apr 24, 2021 at 5:09 AM John F. Eldredge 
> wrote:
>
>> When I first moved into my apartment, I was relying on an open WiFi
>> hotspot elsewhere in the building. The signal was weak after passing
>> through the concrete floor, and it was common to lose my connection for a
>> few seconds. I was also having to reboot my phone, a Motorola One Action
>> running Android 10, several times per day because it would stop being able
>> to connect to the WiFi.
>>
>> Now that I am using a router in my apartment, I am only having to restart
>> my phone every couple of days. Apparently there is a memory leak or
>> resource leak every time the WiFi connection is lost and has to be
>> reestablished.
>>
>> --
>> --
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To post to this group, send email to nlug-talk@googlegroups.com
>> To unsubscribe from this group, send email to
>> nlug-talk+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nlug-talk?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nlug-talk+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/nlug-talk/CAJfAAYK-rFLOY8a6ez7CbVgEFEouKBHJAedRL14kGR%3D9-3i5FA%40mail.gmail.com
>> 
>> .
>>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CA%2BKhHx%2B-0Y6YE6Vs81jEZjeYKe%2B5_ZP9FfbiBAtru9ZC4DBzFw%40mail.gmail.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the Google 

Re: [nlug] University of Minnesota banned from contributing to Linux kernel

2021-04-24 Thread John F. Eldredge
Well, the news report I read said the bugs were submitted and accepted.

On Sat, Apr 24, 2021, 11:12 AM Kent Perrier  wrote:

> That isn't true (flaws now in use on production systems). If you read
> their paper
> ,
> once the maintainer said "ok, looks good" they told the maintainer of the
> issue with the code and not to use it. (Section VI A "Ethical
> Considerations").
>
> Now that may be going through ALL of the code submissions from UMN and
> ripping it all out and replacing it, but in *this* case security issues
> were not introduced into the kernel.
>
>
>
>
> On Sat, Apr 24, 2021 at 9:07 AM John F. Eldredge 
> wrote:
>
>> Two researchers at the University of Minnesota have admitted they
>> deliberately introduced security flaws into the Linux kernel, in order to
>> determine how effective the review process is. As a result, all code
>> changes originating from the university have been rolled back and are being
>> re-reviewed, and no one using a University of Minnesota email address will
>> be allowed to submit kernel changes. Apparently the flaws the researchers
>> introduced are now in use on production systems worldwide.
>>
>> --
>> --
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To post to this group, send email to nlug-talk@googlegroups.com
>> To unsubscribe from this group, send email to
>> nlug-talk+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nlug-talk?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nlug-talk+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/nlug-talk/CAJfAAY%2BFfNnoW8OJnf_ypyoXPfj-RPaJo-495EqY7cXYCsaQtw%40mail.gmail.com
>> 
>> .
>>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CA%2B6_KC-PmYdPPuReM3tyG-Ga7OXJsiRGbKEhVgVCWch6649uLQ%40mail.gmail.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAJfAAYJxZV7xN51uW-UbJVLAFVueCtm8F_jkhE%2BaritEALp7cw%40mail.gmail.com.


[nlug] New job

2021-04-24 Thread John F. Eldredge
I am starting a new contract job as a C / Oracle SQL / Unix shell script
developer, working as a contractor to DXC Technology on Medicaid code for
the state of Mississippi. I will be working remotely, from home. This is
very similar to several previous contracts. All of the preliminary
paperwork is completed; I am just waiting for the company-issued laptop to
arrive, and notice of my first working day.

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAJfAAY%2Bswv2Df7dNc7c2zXYsSdszccO0CkyjhuD3Vxr-68ao5w%40mail.gmail.com.


Re: [nlug] University of Minnesota banned from contributing to Linux kernel

2021-04-24 Thread 'Michael Chaney' via NLUG
Start reading here:

https://lore.kernel.org/linux-nfs/20210407001658.2208535-1-pakki...@umn.edu/

This is one of my favorites, the original is gone but you can get some of
it in the reply:

https://lore.kernel.org/linux-nfs/yh%2ffm%2ftsbmczz...@kroah.com/

This is the part - note that Pakki is claiming that he's submitting these
based on a new static analyzer.  Just read it:

"> Greg,
>
> I respectfully ask you to cease and desist from making wild accusations
> that are bordering on slander.
>
> These patches were sent as part of a new static analyzer that I wrote and
> it's sensitivity is obviously not great. I sent patches on the hopes to
get
> feedback. We are not experts in the linux kernel and repeatedly making
> these statements is disgusting to hear.

[note - he's lying]
>
> Obviously, it is a wrong step but your preconceived biases are so strong
> that you make allegations without merit nor give us any benefit of doubt.
>
> I will not be sending any more patches due to the attitude that is not
only
> unwelcome but also intimidating to newbies and non experts.

I love this.  "unwelcome but also intimidating to newbies and non experts".

SMH.

This is the most popular operating system kernel on the planet used by
billions of devices.  If you're a "newbie" or "non expert" I would hope
that it's not just "unwelcome" and "intimidating" - I would hope that they
would be outright hostile to you.  It's not your playground, idiot.  Try
walking into Microsoft and present yourself as a "non expert newbie" and
see if they'll put you right to work on the Windows kernel.  Go to Apple
and tell them you're new to programming but you'd like to have commit
rights to the Darwin kernel.  See how far you get.

I am glad to see that the guys working on a kernel that I depend on in
several ways don't welcome "non experts".  More of this, please.

Michael
--
Michael Darrin Chaney, Sr.
mdcha...@michaelchaney.com
http://www.michaelchaney.com/

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAAtfUtFR0j-gGf-TRExNJh0-6DagMmQVCgyW4Tv3uMjAQJi%3D5A%40mail.gmail.com.


Re: [nlug] University of Minnesota banned from contributing to Linux kernel

2021-04-24 Thread Kent Perrier
I am trusting what they put in their paper. So. :)

I do think this kind of research needs to be done, I just don't know how to
do it in an ethical way, not wasting the time of the developers. I also
think the kernel maintainers are the ones most likely to find such
submissions. If a supply-chain attack was to be done against "linux" doing
it somewhere else, on a smaller project would be the most productive. A
single maintainer/smaller team would be more likely, IMO, to be overwhelmed
and just accept patches with much less review. As opposed to kernel
maintainers who are probably being paid to do that.

Getting a job at Dell or HP to write device drivers would be a far better
place to get the access to do something malicious to many, many servers out
there.

Kent

On Sat, Apr 24, 2021 at 1:10 PM John F. Eldredge 
wrote:

> Well, the news report I read said the bugs were submitted and accepted.
>
> On Sat, Apr 24, 2021, 11:12 AM Kent Perrier 
> wrote:
>
>> That isn't true (flaws now in use on production systems). If you read
>> their paper
>> ,
>> once the maintainer said "ok, looks good" they told the maintainer of the
>> issue with the code and not to use it. (Section VI A "Ethical
>> Considerations").
>>
>> Now that may be going through ALL of the code submissions from UMN and
>> ripping it all out and replacing it, but in *this* case security issues
>> were not introduced into the kernel.
>>
>>
>>
>>
>> On Sat, Apr 24, 2021 at 9:07 AM John F. Eldredge 
>> wrote:
>>
>>> Two researchers at the University of Minnesota have admitted they
>>> deliberately introduced security flaws into the Linux kernel, in order to
>>> determine how effective the review process is. As a result, all code
>>> changes originating from the university have been rolled back and are being
>>> re-reviewed, and no one using a University of Minnesota email address will
>>> be allowed to submit kernel changes. Apparently the flaws the researchers
>>> introduced are now in use on production systems worldwide.
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "NLUG" group.
>>> To post to this group, send email to nlug-talk@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> nlug-talk+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/nlug-talk?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "NLUG" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to nlug-talk+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/nlug-talk/CAJfAAY%2BFfNnoW8OJnf_ypyoXPfj-RPaJo-495EqY7cXYCsaQtw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> --
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To post to this group, send email to nlug-talk@googlegroups.com
>> To unsubscribe from this group, send email to
>> nlug-talk+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nlug-talk?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nlug-talk+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/nlug-talk/CA%2B6_KC-PmYdPPuReM3tyG-Ga7OXJsiRGbKEhVgVCWch6649uLQ%40mail.gmail.com
>> 
>> .
>>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CAJfAAYJxZV7xN51uW-UbJVLAFVueCtm8F_jkhE%2BaritEALp7cw%40mail.gmail.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@goo

Re: [nlug] University of Minnesota banned from contributing to Linux kernel

2021-04-24 Thread Csaba Toth
"This is the most popular operating system kernel on the planet used by
billions of devices."
This is exactly why it is important to see how well it is protected. We
want it to be as secure as possible.
The experiment could not happen at all with the Windows kernel since it's
not open source. Some people claim open source has the advantage of many
eyes. Is that true? That's the question.
When you want to really test your company's security you hire some pen
testers. They may find security holes. Don't get triggered if they find
some problems.
The security of the Linux kernel, the high code churn, the volatility of
kernel API changes, kernel CI and automated testing system, the shenanigans
around dissing CVE numbers - these are all concerns and topics raised by
many security minded people in various konferences. Some knuckleheads get
really butt hurt when such questions arise.
I follow the GRSecurity and the PaX team's work for decades now. Just take
a look at some of the blog posts at https://grsecurity.net/blog - not too
rarely it turns out that bug Y which is recently fixed in the kernel (and
were present for X years where sometimes X is big number) is already fixed
in GRSecurity for many years. With that I don't want to advocate for
GRSecurity per se, I'm just always appalled to see how the kernel has
serious problems around security and a huge space to improve.

So newbies are not welcome, then how would those three patches from the
publication would actually land in the kernel? They would have had the
researchers not warned the maintainers after the OK signal was already
given. Quote from the publication:

"At the same time, we point out
the correct fixing of the bug and provide our correct patch.
In all the three cases, maintainers explicitly acknowledged
and confirmed to not move forward with the incorrect patches"

It's all of our interest to make the kernel more secure. Yes, sometimes
that means a stealth pen test.
Maybe UMN made some mistakes but to ban them is too harsh. The takeaway
should be that the patches would have gone through and how that process can
be fortified.

On Sat, Apr 24, 2021 at 12:52 PM 'Michael Chaney' via NLUG <
nlug-talk@googlegroups.com> wrote:

> Start reading here:
>
>
> https://lore.kernel.org/linux-nfs/20210407001658.2208535-1-pakki...@umn.edu/
>
> This is one of my favorites, the original is gone but you can get some of
> it in the reply:
>
> https://lore.kernel.org/linux-nfs/yh%2ffm%2ftsbmczz...@kroah.com/
>
> This is the part - note that Pakki is claiming that he's submitting these
> based on a new static analyzer.  Just read it:
>
> "> Greg,
> >
> > I respectfully ask you to cease and desist from making wild accusations
> > that are bordering on slander.
> >
> > These patches were sent as part of a new static analyzer that I wrote and
> > it's sensitivity is obviously not great. I sent patches on the hopes to
> get
> > feedback. We are not experts in the linux kernel and repeatedly making
> > these statements is disgusting to hear.
>
> [note - he's lying]
> >
> > Obviously, it is a wrong step but your preconceived biases are so strong
> > that you make allegations without merit nor give us any benefit of doubt.
> >
> > I will not be sending any more patches due to the attitude that is not
> only
> > unwelcome but also intimidating to newbies and non experts.
>
> I love this.  "unwelcome but also intimidating to newbies and non experts".
>
> SMH.
>
> This is the most popular operating system kernel on the planet used by
> billions of devices.  If you're a "newbie" or "non expert" I would hope
> that it's not just "unwelcome" and "intimidating" - I would hope that they
> would be outright hostile to you.  It's not your playground, idiot.  Try
> walking into Microsoft and present yourself as a "non expert newbie" and
> see if they'll put you right to work on the Windows kernel.  Go to Apple
> and tell them you're new to programming but you'd like to have commit
> rights to the Darwin kernel.  See how far you get.
>
> I am glad to see that the guys working on a kernel that I depend on in
> several ways don't welcome "non experts".  More of this, please.
>
> Michael
> --
> Michael Darrin Chaney, Sr.
> mdcha...@michaelchaney.com
> http://www.michaelchaney.com/
>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CAAtfUtFR0j-gGf-TRExNJh0-6DagMmQVCgyW4Tv3uMjAQJi%3D5A%40mail