Skip to contentSkip to conversation

Stable inclusion request: recvmsg/sendmsg userspace regression fix

DISCUSSION Applied Michal Marek 5 participants 5 messages Jan 30, 2015 – May 3, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

please include

commit 6a2a2b3ae0759843b22c929881cc184b00cc63ff

Author: Ani Sinha <[email protected]>
Date:   Mon Sep 8 14:49:59 2014 -0700

net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
msghdr struct from userland.

to 3.14.y and older trees, since it fixes a userspace regression caused by commit dbb490b9 ("net: socket: error on a negative msg_namelen"). The patch applies cleanly to all trees down to 2.6.32.y.

Thanks,
Michal

#1 lore raw
Quoted 8 lines · Michal Marek

Hi,

please include

commit 6a2a2b3ae0759843b22c929881cc184b00cc63ff

Author: Ani Sinha <[email protected]>
Date:   Mon Sep 8 14:49:59 2014 -0700
Quoted 7 lines

net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
msghdr struct from userland.

to 3.14.y and older trees, since it fixes a userspace regression caused by commit dbb490b9 ("net: socket: error on a negative msg_namelen"). The patch applies cleanly to all trees down to 2.6.32.y.

I'm queuing this for the 3.16 kernel as well. Thanks!

Cheers,
--
Luís

Quoted 6 lines

Thanks,
Michal
--
To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Michal Marek
Quoted 8 lines · Michal Marek

Hi,

please include

commit 6a2a2b3ae0759843b22c929881cc184b00cc63ff

Author: Ani Sinha <[email protected]>
Date:   Mon Sep 8 14:49:59 2014 -0700
Quoted 6 lines

net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
msghdr struct from userland.

to 3.14.y and older trees, since it fixes a userspace regression caused by commit dbb490b9 ("net: socket: error on a negative msg_namelen"). The patch applies cleanly to all trees down to 2.6.32.y.

Hi,

this was not in the last batch of fixes yet. David, do you have any plans with this one?

thanks,

Signature · 2 lines
js
suse labs
#3 lore raw
In reply to Michal Marek
Cc Ben
Quoted 8 lines · Michal Marek

Hi,

please include

commit 6a2a2b3ae0759843b22c929881cc184b00cc63ff

Author: Ani Sinha <[email protected]>
Date:   Mon Sep 8 14:49:59 2014 -0700
Quoted 7 lines

net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
msghdr struct from userland.

to 3.14.y and older trees, since it fixes a userspace regression caused by commit dbb490b9 ("net: socket: error on a negative msg_namelen"). The patch applies cleanly to all trees down to 2.6.32.y.

Queued up for 3.4. Thansks!

It's still missing from 3.2.y, so cc Ben.

#4 lore raw
Quoted 14 lines · Zefan Li
Cc Ben
Quoted 11 lines · Michal Marek

Hi,

please include

commit 6a2a2b3ae0759843b22c929881cc184b00cc63ff

Author: Ani Sinha <[email protected]>
Date:   Mon Sep 8 14:49:59 2014 -0700

net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
msghdr struct from userland.

Quoted 8 lines
Quoted 4 lines

to 3.14.y and older trees, since it fixes a userspace regression caused by commit dbb490b9 ("net: socket: error on a negative msg_namelen"). The patch applies cleanly to all trees down to 2.6.32.y.

Queued up for 3.4. Thansks!

It's still missing from 3.2.y, so cc Ben.

Queued up for 3.2, thanks.

Ben.

Signature · 2 lines
Ben Hutchings
One of the nice things about standards is that there are so many of them.