Skip to contentSkip to conversation

Patch "libceph: implement CEPHX_V2 calculation mode" has been added to the 4.14-stable tree

DISCUSSION Ilya Dryomov 4 participants 6 messages Dec 3, 2018 – Dec 6, 2018 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 29 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

libceph: implement CEPHX_V2 calculation mode

to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
libceph-implement-cephx_v2-calculation-mode.patch
and it can be found in the queue-4.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit 14735e0afb6ed378becd0dedf37d1e5ddfa12084

Author: Ilya Dryomov <[email protected]>
Date:   Fri Jul 27 19:25:32 2018 +0200

libceph: implement CEPHX_V2 calculation mode

commit cc255c76c70f7a87d97939621eae04b600d9f4a1 upstream.

Derive the signature from the entire buffer (both AES cipher blocks) instead of using just the first half of the first block, leaving out data_crc entirely.

Quoted 7 lines

This addresses CVE-2018-1129.

Hi Sasha,

The CVEs mentioned in this series are server side and CEPHX_V2 is probably more of a new feature than a security fix. That said, I don't object to including it in 4.14.z. If you do, please pick up the remaining two patches for interoperability:

f1d10e046379 libceph: weaken sizeof check in ceph_x_verify_authorizer_reply() 130f52f2b203 libceph: check authorizer reply/challenge length before reading

Thanks,

Ilya

maintainer
#2 lore raw

+ Ben

Quoted 40 lines · Ilya Dryomov
Quoted 29 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

libceph: implement CEPHX_V2 calculation mode

to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
libceph-implement-cephx_v2-calculation-mode.patch
and it can be found in the queue-4.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit 14735e0afb6ed378becd0dedf37d1e5ddfa12084

Author: Ilya Dryomov <[email protected]>
Date:   Fri Jul 27 19:25:32 2018 +0200

libceph: implement CEPHX_V2 calculation mode

commit cc255c76c70f7a87d97939621eae04b600d9f4a1 upstream.

Derive the signature from the entire buffer (both AES cipher blocks) instead of using just the first half of the first block, leaving out data_crc entirely.

Quoted 7 lines

This addresses CVE-2018-1129.

Hi Sasha,

Quoted 7 lines

The CVEs mentioned in this series are server side and CEPHX_V2 is probably more of a new feature than a security fix. That said, I don't object to including it in 4.14.z. If you do, please pick up the remaining two patches for interoperability:

f1d10e046379 libceph: weaken sizeof check in ceph_x_verify_authorizer_reply() 130f52f2b203 libceph: check authorizer reply/challenge length before reading

Would I be pulling this patch if it didn't have the string "CVE-2018-1129" in the commit message?

--
Thanks,
Sasha

#3 lore raw
Quoted 49 lines · Sasha Levin

+ Ben

Quoted 45 lines · Ilya Dryomov
Quoted 29 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

libceph: implement CEPHX_V2 calculation mode

to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
libceph-implement-cephx_v2-calculation-mode.patch
and it can be found in the queue-4.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit 14735e0afb6ed378becd0dedf37d1e5ddfa12084

Author: Ilya Dryomov <[email protected]>
Date:   Fri Jul 27 19:25:32 2018 +0200

libceph: implement CEPHX_V2 calculation mode

commit cc255c76c70f7a87d97939621eae04b600d9f4a1 upstream.

Derive the signature from the entire buffer (both AES cipher blocks) instead of using just the first half of the first block, leaving out data_crc entirely.

Quoted 7 lines

This addresses CVE-2018-1129.

Hi Sasha,

The CVEs mentioned in this series are server side and CEPHX_V2 is probably more of a new feature than a security fix. That said, I don't object to including it in 4.14.z. If you do, please pick up the remaining two patches for interoperability:

Quoted 5 lines
Quoted 2 lines

f1d10e046379 libceph: weaken sizeof check in ceph_x_verify_authorizer_reply() 130f52f2b203 libceph: check authorizer reply/challenge length before reading

Would I be pulling this patch if it didn't have the string "CVE-2018-1129" in the commit message?

Well, I didn't mark this series for stable, so probably not.

Thanks,

Ilya

maintainer
#4 lore raw
Quoted 50 lines · Ilya Dryomov
Quoted 49 lines · Sasha Levin

+ Ben

Quoted 45 lines · Ilya Dryomov
Quoted 29 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

libceph: implement CEPHX_V2 calculation mode

to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
libceph-implement-cephx_v2-calculation-mode.patch
and it can be found in the queue-4.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit 14735e0afb6ed378becd0dedf37d1e5ddfa12084

Author: Ilya Dryomov <[email protected]>
Date:   Fri Jul 27 19:25:32 2018 +0200

libceph: implement CEPHX_V2 calculation mode

commit cc255c76c70f7a87d97939621eae04b600d9f4a1 upstream.

Derive the signature from the entire buffer (both AES cipher blocks) instead of using just the first half of the first block, leaving out data_crc entirely.

Quoted 7 lines

This addresses CVE-2018-1129.

Hi Sasha,

The CVEs mentioned in this series are server side and CEPHX_V2 is probably more of a new feature than a security fix. That said, I don't object to including it in 4.14.z. If you do, please pick up the remaining two patches for interoperability:

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

f1d10e046379 libceph: weaken sizeof check in ceph_x_verify_authorizer_reply() 130f52f2b203 libceph: check authorizer reply/challenge length before reading

Would I be pulling this patch if it didn't have the string "CVE-2018-1129" in the commit message?

Well, I didn't mark this series for stable, so probably not.

Alrighty, thanks.

Ben, any objections to dropping this patch?

--
Thanks,
Sasha

#5 lore raw
Quoted 6 lines · Sasha Levin
Quoted 5 lines · Ilya Dryomov
Quoted 4 lines · Sasha Levin

+ Ben

On Mon, Dec 03, 2018 at 12:09:25PM +0100, Ilya Dryomov wrote:

[...]

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

The CVEs mentioned in this series are server side and CEPHX_V2 is probably more of a new feature than a security fix.  That said, I don't object to including it in 4.14.z.  If you do, please pick up the remaining two patches for interoperability:

f1d10e046379 libceph: weaken sizeof check in ceph_x_verify_authorizer_reply() 130f52f2b203 libceph: check authorizer reply/challenge length before reading

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Would I be pulling this patch if it didn't have the string "CVE-2018-1129" in the commit message?

Well, I didn't mark this series for stable, so probably not.

Alrighty, thanks.

Ben, any objections to dropping this patch?

My understanding is that while the security impact is on the server side, an unpatched client won't be able to authenticate to a patched server. Assuming that is correct, this change seems to fit the stable rules.

Ben.

Signature · 3 lines
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom
#6 lore raw
Quoted 21 lines · Ben Hutchings
Quoted 6 lines · Sasha Levin
Quoted 5 lines · Ilya Dryomov
Quoted 4 lines · Sasha Levin

+ Ben

On Mon, Dec 03, 2018 at 12:09:25PM +0100, Ilya Dryomov wrote:

[...]

Quoted 13 lines
Quoted 12 lines
Quoted 10 lines
Quoted 7 lines

The CVEs mentioned in this series are server side and CEPHX_V2 is probably more of a new feature than a security fix.��That said, I don't object to including it in 4.14.z.��If you do, please pick up the remaining two patches for interoperability:

f1d10e046379 libceph: weaken sizeof check in ceph_x_verify_authorizer_reply() 130f52f2b203 libceph: check authorizer reply/challenge length before reading

Would I be pulling this patch if it didn't have the string "CVE-2018-1129" in the commit message?

Well, I didn't mark this series for stable, so probably not.

Quoted 8 lines
Quoted 3 lines

Alrighty, thanks.

Ben, any objections to dropping this patch?

My understanding is that while the security impact is on the server side, an unpatched client won't be able to authenticate to a patched server. Assuming that is correct, this change seems to fit the stable rules.

I kept them in the tree, and added the additional ones, thanks!

greg k-h