News for hackers. Stuff that matters.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by hlandau on Wednesday August 30, 2023 @01:11PM (#37325376)
There is a comment here by the author of this patch which is absolutely extraordinary:

https://lore.kernel.org/lkml/20230731083806.453036-6-hch@lst...

"Given that symbol_get was only ever inteded for tightly cooperating modules using very internal symbols it is logical to restrict it to being used on EXPORY_SYMBOL_GPL and prevent nvidia from costly DMCA circumvention of access controls law suites."

This is literally an attempt to claim the protection of the DMCA's anticircumvention law (which makes it illegal to "circumvent" DRM) for the Linux kernel, an open source project. It's also a tacit admission that EXPORT_SYMBOL_GPL is blatantly a DRM scheme (which it is).

Personally I loathe NVIDIA and have no particular interest in defending their behaviour; however, I find it extraordinary here that the Linux project is trying to claim the DRM anti-circumvention law applies to an open source project. It's pretty bizarre given there are few laws which seem more universally opposed by the open source community, and seems to me quite at odds with the values of FOSS - as is any DRM scheme.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by sterlind on Wednesday August 30, 2023 @01:21PM (#37325534)
kernel taint is obviously a DRM scheme, that's not a secret. GPL isn't a permissive license, it's a strong copyleft license that has teeth. there's nothing hypocritical about the taint mechanism - it's open-source, and as long as your code is GPL you can do anything you like. it literally just enforces the linking provision of the GPL license.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Dylan16807 on Wednesday August 30, 2023 @02:03PM (#37326279)
> it literally just enforces the linking provision of the GPL license.

Which provision are you referring to? The word "link" is only in one spot in GPL 2.0 and isn't talking about this situation.

But assuming you mean it's just enforcing the text about derived works, that would only be true if the GPL exports were consistently linux-specific enough that using them makes your code a derived work.

Which they blatantly aren't.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Bjartr on Wednesday August 30, 2023 @01:31PM (#37325729)
You're right, it is open source. As such, this doesn't violate user freedom since if Nvidia, the user in this context, don't like this, they can fork the kernel and change the behavior however they want. Of course, nothing compels anyone else to use such a kernel.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by nvm0n2 on Wednesday August 30, 2023 @01:38PM (#37325842)
Presumably they actually can't, because the forked kernel would still be GPL.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Bjartr on Wednesday August 30, 2023 @02:23PM (#37326604)
How would the GPL stop them from removing the check? They'd have to share their changed kernel source, but nobody would want it.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by nvm0n2 on Wednesday August 30, 2023 @03:40PM (#37327835)
The check is just enforcing the legal interpretation of the rights holders, the check code itself doesn't matter legally. Just like how stripping some DRM doesn't mean you now own the copyright to the video.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Bjartr on Wednesday August 30, 2023 @04:06PM (#37328219)
That raises an interesting question: Is modification of the source that is used to produce the executable software necessarily modification of software from a DMCA perspective? Or does the circumvention have to involve influencing an extant binary in some way? The legal answer, in either direction, isn't obvious to me.

Especially since the GPL license does explicitly allow you to modify the source.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by EMIRELADERO on Wednesday August 30, 2023 @01:32PM (#37325736)
Don't they realize the DMCA has interoperability exceptions for this sort of thing?
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by trustmebro on Wednesday August 30, 2023 @01:16PM (#37325450)
The values of the FOSS community are pro Good. If you do something shady, and they help you save face with a gentle touch like this, you're lucky.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Dylan16807 on Wednesday August 30, 2023 @02:09PM (#37326370)
It's a shady workaround to the kernel itself being shady with which symbols get marked GPL.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by mort96 on Wednesday August 30, 2023 @04:11PM (#37328300)
Marking symbols as GPL is not shady.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Dylan16807 on Wednesday August 30, 2023 @05:11PM (#37329206)
For the symbols where use of them does not imply that the code is derivative of the kernel, it is shady.

See also kernel_fpu_begin

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by mort96 on Wednesday August 30, 2023 @05:23PM (#37329329)
Code which links against the kernel is derivative as far as the GPL is concerned.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Dylan16807 on Wednesday August 30, 2023 @06:15PM (#37329877)
That's obviously not true when you consider code that was ported from other architectures.

Unless you mean specifically how the GPL is written, but the GPL doesn't get to decide what's derivative, copyright does.

And if that was solidly true, why isn't every symbol marked GPL?

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by tristan957 on Thursday August 31, 2023 @07:08PM (#37344747)
Doesn't the existence of the LGPL negate your argument? It is the GPL with a linking exception, colloquially.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Dylan16807 on Thursday August 31, 2023 @08:08PM (#37345185)
LGPL sets out better, clearer boundaries. And it allows some things that might arguably be derived code, while the GPL would hedge much closer to that line. So it has a use.

Also FSF tends to overstate the importance of linking.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by mort96 on Friday September 01, 2023 @03:31AM (#37347802)
I don't understand what porting from other architectures has to do with anything. If Linux has some code for amd64, and then Linux developers port that code to aarch64, why would the aarch64 code be different from a licensing perspective than the amd64 code?

I don't know why they have non-GPL symbols. My understanding is that they could have marked every symbol as GPL. There's presumably some desire to allow limited closed-source drivers. You'd have to ask someone involved or find some writings from someone who knows. Maybe Google can help.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Dylan16807 on Friday September 01, 2023 @11:09AM (#37351825)
I'm taking about a kernel module being ported from something other than Linux. With minimal changes.

Changing some entry points won't make it a derived work.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by baq on Wednesday August 30, 2023 @01:43PM (#37325924)
Being open source with GPL2 is a digital right, is it not? DRM is a logical step against GPL piracy.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by tremon on Wednesday August 30, 2023 @03:00PM (#37327206)
Why would that be pretty bizarre? The entire goal of the GPL was to use copyright law against itself (hence the term copyleft): the stronger copyright law gets, the stronger GPL protection gets. So to me, it's pretty much in the spirit of the GPL to wield additional copyright legislation to protect open source software.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by ye-olde-sysrq on Wednesday August 30, 2023 @03:34PM (#37327731)
RMS even describes the GPL's weaponizing of copyright against itself as a "judo throw" in his writings. The intent there is very explicit.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by kmeisthax on Wednesday August 30, 2023 @04:15PM (#37328349)
RMS also changed GPLv3 to specifically forbid exactly the kind of lawsuit being threatened in the commit message.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by ye-olde-sysrq on Wednesday August 30, 2023 @05:04PM (#37329117)
Sure - I think there's a hair to be split here where we could argue that weaponizing anti-circumvention logic in GPLv2 is generally in the spirit of the GPL as a whole, but then also say they in GPLv3 we decided to remove it because while it's in the spirit, it's too dangerous, and net-better for user freedom if using GPLv3 software doesn't carry the risk of accidentally tripping up anti-circumvention laws.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Qwertious on Wednesday August 30, 2023 @07:08PM (#37330312)
I get the impression that GPLv2 is (perhaps unintentionally) in the spirit of open source, whereas GPLv3 is in the spirit of Free Software. Thus Linus's famous "I just want the code" rant.
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by pxc on Wednesday August 30, 2023 @07:35PM (#37330526)
[delayed]
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Qwertious on Saturday September 02, 2023 @12:02AM (#37358479)
It's absurd, but true. I do think it's unintentional, but due to historical reasons GPLv2 doesn't prevent tivoization, which is more aligned with open source than with free software.

Again, I'm not discussing what the intentions were, nor what the practical effects used to be 20 years ago, I'm referring to it's position today.

Suppose a hypothetical that GPLv2 never existed and that the GPLv3 was written in 1990, then someone came along today and wrote a variant of GPLv3 that specifically permitted tivoization and firmware blobs; surely such a license would be seen as moving from open-source to free software.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by brokenmachine on Thursday August 31, 2023 @12:55AM (#37332616)
Link to Linus' rant please?
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by Qwertious on Friday September 01, 2023 @11:55PM (#37358456)
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by thrtythreeforty on Wednesday August 30, 2023 @05:57PM (#37329686)
I am less familiar with the lawsuit sections of GPLv3; would you mind pointing to the relevant sections?
Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by kmeisthax on Wednesday August 30, 2023 @07:00PM (#37330244)
GPLv3 has the following clause:

>3. Protecting Users' Legal Rights From Anti-Circumvention Law.

>No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.

>When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by gnull on Wednesday August 30, 2023 @05:42PM (#37329533)
> It's pretty bizarre given there are few laws which seem more universally opposed by the open source community, and seems to me quite at odds with the values of FOSS - as is any DRM scheme.

Even if we don't like a law, it's a law, and you live in reality where it applies — and you should use it when needed. I don't find it bizarre at all.

Re:Linux 6.6 to Protect Against Illicit Behavior of Nvidia P... by segfaultbuserr on Thursday August 31, 2023 @04:50AM (#37334260)
> there are few laws which seem more universally opposed by the open source community, and seems to me quite at odds with the values of FOSS - as is any DRM scheme.

My reading is that this is obviously a half-serious and half-sarcastic remark.

The serious message is that the author believes it's a genuine case of copyright violation. The sarcastic message is that - given the context that the bar of invoking DMCA is so low that almost every trivial check can be classified as "anti-circumvention devices" (including the GPL symbol check in the Linux kernel), making it universally opposed by the FOSS community - Thus, the author thought it would be fun to flip the table here to make the exact same legal threat back to proprietary software vendors.

It's simultaneously a copyright infringement accusation, a sarcastic comment on the excessively broad scope of DMCA, and a half-serious revenge in the form of a hypothetical legal threat.

It reminds me of a song about cryptography called Alice and Bob, which made a similar joke. The lyrics read:

> Sending data across the network in a safe way

> Protecting messages to make my pay

> If you hack me you're guilty under the DMCA

The joke of the song is that proprietary software vendors often use DMCA to suppress vulnerability disclosure from security researchers, thus, a security researcher who implements an insecure data encryption protocol can theoretically make use of the same legal threat to cover up their own incompetence - which is absurd from a technical perspective but also the point of the joke.